diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2014-03-27 23:38:17 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-29 22:58:37 +0100 |
commit | 3f4df2066b4e02cb609fa33b2eae8403b5821f4f (patch) | |
tree | e960a9af040e91c50c9bb56c48a76a4c873006e6 /net/core/netpoll.c | |
parent | netpoll: Only call ndo_start_xmit from a single place (diff) | |
download | linux-3f4df2066b4e02cb609fa33b2eae8403b5821f4f.tar.xz 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 'net/core/netpoll.c')
0 files changed, 0 insertions, 0 deletions