]> 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)
commit7faede04d6bf4508abe9e583fa89ba56cac94cfe
tree390ef0bceeecca2cbad8641150c828fe572565ec
parent9dd2142c87b34478b192b4e0e9c531a368c98094
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