Fixes: 538950a1b752 ("soreuseport: setsockopt SO_ATTACH_REUSEPORT_[CE]BPF")
Suggested-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Craig Gallek <kraig@google.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
/* temporarily advance data past protocol header */
if (!pskb_pull(skb, hdr_len)) {
- consume_skb(nskb);
+ kfree_skb(nskb);
return NULL;
}
index = bpf_prog_run_save_cb(prog, skb);