Revert "bpf: Check for BPF_F_ADJ_ROOM_FIXED_GSO when bpf_skb_change_proto"
authorMaciej Żenczykowski <maze@google.com>
Thu, 17 Jun 2021 00:09:50 +0000 (17:09 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 24 Jun 2021 13:39:05 +0000 (15:39 +0200)
commitba47396e1c042619f1c038ad19493aef737677f5
treed14bd761305bab9a694bfdcb5edbd17ee81f2021
parent647d446d66e493d23ca1047fa8492b0269674530
Revert "bpf: Check for BPF_F_ADJ_ROOM_FIXED_GSO when bpf_skb_change_proto"

This reverts commit fa7b83bf3b156c767f3e4a25bbf3817b08f3ff8e.

See the followup commit for the reasoning why I believe the appropriate
approach is to simply make this change without a flag, but it can basically
be summarized as using this helper without the flag is bug-prone or outright
buggy, and thus the default should be this new behaviour.

As this commit has only made it into net-next/master, but not into
any real release, such a backwards incompatible change is still ok.

Signed-off-by: Maciej Żenczykowski <maze@google.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Cc: Dongseok Yi <dseok.yi@samsung.com>
Cc: Willem de Bruijn <willemb@google.com>
Link: https://lore.kernel.org/bpf/20210617000953.2787453-1-zenczykowski@gmail.com
net/core/filter.c