diff options
author | David Ahern <dsa@cumulusnetworks.com> | 2017-01-07 20:04:23 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-09 13:54:44 -0500 |
commit | eafea7390e597f766927d1ba7459f3904b0b9194 (patch) | |
tree | b33f5a7bc7b3fcfecd8b575f348975da5d6401f4 /net/ipv4/route.c | |
parent | 6b0c06e0b660ed175dbdd93a591476041403e54b (diff) | |
download | op-kernel-dev-eafea7390e597f766927d1ba7459f3904b0b9194.zip op-kernel-dev-eafea7390e597f766927d1ba7459f3904b0b9194.tar.gz |
net: ipv4: remove disable of bottom half in inet_rtm_getroute
Nothing about the route lookup requires bottom half to be disabled.
Remove the local_bh_disable ... local_bh_enable around ip_route_input.
This appears to be a vestige of days gone by as it has been there
since the beginning of git time.
Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/route.c')
-rw-r--r-- | net/ipv4/route.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c index f51823d..7144288 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c @@ -2631,9 +2631,7 @@ static int inet_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh) skb->protocol = htons(ETH_P_IP); skb->dev = dev; skb->mark = mark; - local_bh_disable(); err = ip_route_input(skb, dst, src, rtm->rtm_tos, dev); - local_bh_enable(); rt = skb_rtable(skb); if (err == 0 && rt->dst.error) |