aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/netpoll.h
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2014-03-27 15:38:17 -0700
committerDavid S. Miller <davem@davemloft.net>2014-03-29 17:58:37 -0400
commit3f4df2066b4e02cb609fa33b2eae8403b5821f4f (patch)
treee960a9af040e91c50c9bb56c48a76a4c873006e6 /include/linux/netpoll.h
parentnetpoll: Only call ndo_start_xmit from a single place (diff)
downloadwireguard-linux-3f4df2066b4e02cb609fa33b2eae8403b5821f4f.tar.xz
wireguard-linux-3f4df2066b4e02cb609fa33b2eae8403b5821f4f.zip
netpoll: Move rx enable/disable into __dev_close_many
Today netpoll_rx_enable and netpoll_rx_disable are called from dev_close and and __dev_close, and not from dev_close_many. Move the calls into __dev_close_many so that we have a single call site to maintain, and so that dev_close_many gains this protection as well. Which importantly makes batched network device deletes safe. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netpoll.h')
0 files changed, 0 insertions, 0 deletions