From: Eric W. Biederman Date: Sat, 15 Mar 2014 03:44:37 +0000 (-0700) Subject: netpoll: move setting of NETPOLL_RX_DROP into netpoll_poll_dev X-Git-Tag: v3.15-rc1~113^2~143^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b249b51b983db1773d3531b7266c397b6b16a7cd;p=pandora-kernel.git netpoll: move setting of NETPOLL_RX_DROP into netpoll_poll_dev Today netpoll depends on setting NETPOLL_RX_DROP before networking drivers receive packets in interrupt context so that the packets can be dropped. Move this setting into netpoll_poll_dev from poll_one_napi so that if ndo_poll_controller happens to receive packets we will drop the packets on the floor instead of letting the packets bounce through the networking stack and potentially cause problems. Signed-off-by: "Eric W. Biederman" Signed-off-by: David S. Miller --- Reading git-diff-tree failed