diff options
Diffstat (limited to 'net/bridge')
-rw-r--r-- | net/bridge/br_netfilter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/br_netfilter.c b/net/bridge/br_netfilter.c index 4fde7425077d..907a82e9023d 100644 --- a/net/bridge/br_netfilter.c +++ b/net/bridge/br_netfilter.c | |||
@@ -359,7 +359,7 @@ static int br_nf_pre_routing_finish(struct sk_buff *skb) | |||
359 | }, | 359 | }, |
360 | .proto = 0, | 360 | .proto = 0, |
361 | }; | 361 | }; |
362 | struct in_device *in_dev = in_dev_get(dev); | 362 | struct in_device *in_dev = __in_dev_get_rcu(dev); |
363 | 363 | ||
364 | /* If err equals -EHOSTUNREACH the error is due to a | 364 | /* If err equals -EHOSTUNREACH the error is due to a |
365 | * martian destination or due to the fact that | 365 | * martian destination or due to the fact that |