]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5249340ccc46ee9aba1c7a11115d9c1dcaf688e7
treed14bd761305bab9a694bfdcb5edbd17ee81f2021
parent9878f6da3ae047bdaa9b6d7cebac8227b996fbde
Revert "bpf: Check for BPF_F_ADJ_ROOM_FIXED_GSO when bpf_skb_change_proto"

This reverts commit 8850251c8a5eb5c8242c21532c743363e0cbdae2.

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