projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[NET] NETNS: Omit net_device->nd_net without CONFIG_NET_NS.
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
drivers
/
block
/
aoe
/
aoenet.c
diff --git
a/drivers/block/aoe/aoenet.c
b/drivers/block/aoe/aoenet.c
index 8460ef736d560405318a62d7737f8afdc1db9ece..18d243c73eee0b34966a1a4eea6da1e673ece772 100644
(file)
--- a/
drivers/block/aoe/aoenet.c
+++ b/
drivers/block/aoe/aoenet.c
@@
-115,7
+115,7
@@
aoenet_rcv(struct sk_buff *skb, struct net_device *ifp, struct packet_type *pt,
struct aoe_hdr *h;
u32 n;
- if (
ifp->nd_net
!= &init_net)
+ if (
dev_net(ifp)
!= &init_net)
goto exit;
skb = skb_share_check(skb, GFP_ATOMIC);