]> git.baikalelectronics.ru Git - kernel.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)
commita83076cc7fcfe0f10729dcb496fee5d08f026c26
tree390ef0bceeecca2cbad8641150c828fe572565ec
parentafcf25d401bb55647cca5ec319f5a711ee0efd46
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