summaryrefslogtreecommitdiffstats
path: root/include
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
parent944e294857033dbe519a136cad05dc4e2570874e (diff)
downloadlinux-3f4df2066b4e02cb609fa33b2eae8403b5821f4f.tar.gz
linux-3f4df2066b4e02cb609fa33b2eae8403b5821f4f.tar.bz2
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')
0 files changed, 0 insertions, 0 deletions