summaryrefslogtreecommitdiff
path: root/sock.h
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 /sock.h
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 'sock.h')
0 files changed, 0 insertions, 0 deletions
nux/net-next.git/diff/net/ceph/crypto.h?h=nds-private-remove&id=424414947da3dd5cb0d60e4f299f7c51e472ae77&id2=d07830db1bdb254e4b50d366010b219286b8c937'>diff)
Merge tag 'usb-serial-4.10-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial into usb-linus
Johan writes: USB-serial fixes for v4.10-rc7 One more device ID for pl2303. Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'net/ceph/crypto.h')