xdp: remove bpf_warn_invalid_xdp_redirect
authorJesper Dangaard Brouer <brouer@redhat.com>
Thu, 24 Aug 2017 10:33:03 +0000 (12:33 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Aug 2017 18:59:36 +0000 (11:59 -0700)
commitd08adb82fda523cb51a767e2833c5c5bb0906162
tree13b00e88c2cf06cfb008b407f1b302ba69e3d1fb
parentfb3bbbda5f96512ee94fbc9c8712800087b63182
xdp: remove bpf_warn_invalid_xdp_redirect

Given there is a tracepoint that can track the error code
of xdp_do_redirect calls, the WARN_ONCE in bpf_warn_invalid_xdp_redirect
doesn't seem relevant any longer.  Simply remove the function.

Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/filter.c