bpf: reserve flags in bpf_skb_net_shrink
authorWillem de Bruijn <willemb@google.com>
Fri, 12 Apr 2019 13:30:48 +0000 (09:30 -0400)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 16 Apr 2019 07:56:20 +0000 (09:56 +0200)
commit43537b8e2dc515e037e855504db3f6c7cf73c79f
tree942457b168dbd56db51eeaeaa76fb792e09149b0
parentbfb35c27c65fce60a12e188135ae1344d1b89e24
bpf: reserve flags in bpf_skb_net_shrink

The ENCAP flags in bpf_skb_adjust_room are ignored on decap with
bpf_skb_net_shrink. Reserve these bits for future use.

Fixes: 868d523535c2d ("bpf: add bpf_skb_adjust_room encap flags")
Signed-off-by: Willem de Bruijn <willemb@google.com>
Reviewed-by: Alan Maguire <alan.maguire@oracle.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
net/core/filter.c