summaryrefslogtreecommitdiff
path: root/fs/open.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2014-03-15 07:44:37 +0400
committerDavid S. Miller <davem@davemloft.net>2014-03-17 23:47:21 +0400
commitb249b51b983db1773d3531b7266c397b6b16a7cd (patch)
treef753532433847e389a9b07a15d112dfd19d4fc23 /fs/open.c
parente86e180b824e00733bd0e499d412a595078f9b51 (diff)
downloadlinux-b249b51b983db1773d3531b7266c397b6b16a7cd.tar.xz
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" <ebiederm@xmission.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/open.c')
0 files changed, 0 insertions, 0 deletions