projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netpoll: use GFP_ATOMIC in slave_enable_netpoll() and __netpoll_setup()
[firefly-linux-kernel-4.4.55.git]
/
net
/
bridge
/
br_if.c
diff --git
a/net/bridge/br_if.c
b/net/bridge/br_if.c
index e1144e1617be38814ebb2fb497755cb10b646559..171fd6b9bfe6280b904478d7912b90937c552028 100644
(file)
--- a/
net/bridge/br_if.c
+++ b/
net/bridge/br_if.c
@@
-361,7
+361,7
@@
int br_add_if(struct net_bridge *br, struct net_device *dev)
if (err)
goto err2;
- if (br_netpoll_info(br) && ((err = br_netpoll_enable(p))))
+ if (br_netpoll_info(br) && ((err = br_netpoll_enable(p
, GFP_KERNEL
))))
goto err3;
err = netdev_set_master(dev, br->dev);