]> err.no Git - linux-2.6/commit
[NETPOLL]: Revert two bogus cleanups that broke netconsole.
authorDavid S. Miller <davem@davemloft.net>
Tue, 4 Mar 2008 20:28:49 +0000 (12:28 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Mar 2008 20:28:49 +0000 (12:28 -0800)
commitd9452e9f81e997cbd0c9bface8d2c2a4b064cc3e
tree6f0ea6264fa359293cc6093fff763305d4c0e9f4
parentec9b6add7d81f902f6094e71f595da4a362f3348
[NETPOLL]: Revert two bogus cleanups that broke netconsole.

Based upon a report by Andrew Morton and code analysis done
by Jarek Poplawski.

This reverts 33f807ba0d9259e7c75c7a2ce8bd2787e5b540c7 ("[NETPOLL]:
Kill NETPOLL_RX_DROP, set but never tested.")  and
c7b6ea24b43afb5749cb704e143df19d70e23dea ("[NETPOLL]: Don't need
rx_flags.").

The rx_flags did get tested for zero vs. non-zero and therefore we do
need those tests and that code which sets NETPOLL_RX_DROP et al.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netpoll.h
net/core/netpoll.c