]> git.karo-electronics.de Git - linux-beck.git/commit
net: xdp: add invalid buffer warning
authorJohn Fastabend <john.fastabend@gmail.com>
Thu, 15 Dec 2016 20:12:54 +0000 (12:12 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 17 Dec 2016 16:48:55 +0000 (11:48 -0500)
commitf23bc46c30ca5ef58b8549434899fcbac41b2cfc
tree390ef0bceeecca2cbad8641150c828fe572565ec
parent08abb79542c9e8c367d1d8e44fe1026868d3f0a7
net: xdp: add invalid buffer warning

This adds a warning for drivers to use when encountering an invalid
buffer for XDP. For normal cases this should not happen but to catch
this in virtual/qemu setups that I may not have expected from the
emulation layer having a standard warning is useful.

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/filter.h
net/core/filter.c