Re: [PATCH bpf-next 1/2] bpf: update skb->protocol in bpf_skb_net_grow

2019-04-22 Thread Y Song
On Mon, Apr 22, 2019 at 7:58 AM Willem de Bruijn wrote: > > From: Willem de Bruijn > > Some tunnels, like sit, change the network protocol of packet. > If so, update skb->protocol to match the new type. > > Signed-off-by: Willem de Bruijn Acked-by: Yonghong Song > --- > net/core/filter.c | 8

[PATCH bpf-next 1/2] bpf: update skb->protocol in bpf_skb_net_grow

2019-04-22 Thread Willem de Bruijn
From: Willem de Bruijn Some tunnels, like sit, change the network protocol of packet. If so, update skb->protocol to match the new type. Signed-off-by: Willem de Bruijn --- net/core/filter.c | 8 1 file changed, 8 insertions(+) diff --git a/net/core/filter.c b/net/core/filter.c index