From: Eric W. Biederman Date: Thu, 27 Mar 2014 22:38:17 +0000 (-0700) Subject: netpoll: Move rx enable/disable into __dev_close_many X-Git-Tag: v3.15-rc1~113^2~37^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f4df2066b4e02cb609fa33b2eae8403b5821f4f;p=pandora-kernel.git 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" Signed-off-by: David S. Miller --- Reading git-diff-tree failed