summaryrefslogtreecommitdiff
path: root/cookie.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2014-08-14 15:12:34 +0200
committerTobias Klauser <tklauser@distanz.ch>2014-08-14 15:12:34 +0200
commit5bc19d0b84d0d1c448cd4e4ba0e3e7da3503434a (patch)
tree7d920fe9657d7dae59c0b263d57739607630b383 /cookie.c
parent930a87b5325c1fb1ee3ad7d42213bc795be87adf (diff)
netsniff-ng: Only use TPACKET_V3 if HAVE_TPACKET3 is defined
TPACKET_V3 is not defined if tpacket v3 is not available, thus make its use conditional on HAVE_TPACKET3. Wrap the check for TPACKET_V3 in ring_rx in an inline function which always returns false if HAVE_TPACKET3 is not defined. Reported-by: Mike Reeves <luke@geekempire.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'cookie.c')
0 files changed, 0 insertions, 0 deletions
='branch-deco' href='/cgit.cgi/linux/net-next.git/log/Documentation/misc-devices/mei?h=nds-private-remove'>nds-private-remove
Instead of using a private copy of struct net_device_stats in struct pegasus, use stats from struct net_device. Also remove the now unnecessary .ndo_get_stats function. Cc: Petko Manolov <petkan@nucleusys.com> Cc: linux-usb@vger.kernel.org Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'Documentation/misc-devices/mei')