[NETPOLL]: rx_flags bugfix
authorJeff Moyer <jmoyer@redhat.com>
Fri, 12 Aug 2005 02:23:04 +0000 (19:23 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Aug 2005 02:23:04 +0000 (19:23 -0700)
commit11513128bb66b0b09d5d0df069b58afdb01752a2
tree2c6cb83eb623e7e0ac997f8cb21c0998fe082b2e
parenta0d3bea3cf6c7c1b53a46432bd490b5dc784ca42
[NETPOLL]: rx_flags bugfix

Initialize npinfo->rx_flags.  The way it stands now, this will have random
garbage, and so will incur a locking penalty even when an rx_hook isn't
registered and we are not active in the netpoll polling code.

Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Matt Mackall <mpm@selenic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/netpoll.c