mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
Merge remote-tracking branch 'sm8350/lineage-20' into lineage-23.2
* sm8350/lineage-20: (60 commits) dsp-kernel: Avoid overflow in ALIGN macro usage fixup! BACKPORT: treewide: Use fallthrough pseudo-keyword Revert "net, sctp, filter: remap copy_from_user failure error" UPSTREAM: bpf: Fix L4 csum update on IPv6 in CHECKSUM_COMPLETE UPSTREAM: net: Fix checksum update for ILA adj-transport UPSTREAM: lwt_bpf: Replace preempt_disable() with migrate_disable() ANDROID: add kabi padding for bpf_verifier structure UPSTREAM: net/bpfilter: Initialize pos in __bpfilter_process_sockopt UPSTREAM: bpfilter: switch bpfilter_ip_set_sockopt to sockptr_t UPSTREAM: bpfilter: reject kernel addresses UPSTREAM: net/bpfilter: split __bpfilter_process_sockopt UPSTREAM: bpfilter: fix up a sparse annotation UPSTREAM: bpfilter: Allow to build bpfilter_umh as a module without static library UPSTREAM: bpfilter: Initialize pos variable UPSTREAM: bpfilter: switch to kernel_write UPSTREAM: bpfilter: Take advantage of the facilities of struct pid UPSTREAM: bpfilter: Move bpfilter_umh back into init data UPSTREAM: bpfilter: document build requirements for bpfilter_umh UPSTREAM: bpfilter: use 'userprogs' syntax to build bpfilter_umh UPSTREAM: exit: Factor thread_group_exited out of pidfd_poll ... Change-Id: Ia34a9cf685cbded88f9b0463ca77d3cca36a2053
This commit is contained in:
commit
ee679763c2
61 changed files with 831 additions and 465 deletions
|
|
@ -909,6 +909,7 @@ union bpf_attr {
|
|||
* for updates resulting in a null checksum the value is set to
|
||||
* **CSUM_MANGLED_0** instead. Flag **BPF_F_PSEUDO_HDR** indicates
|
||||
* the checksum is to be computed against a pseudo-header.
|
||||
* Flag **BPF_F_IPV6** should be set for IPv6 packets.
|
||||
*
|
||||
* This helper works in combination with **bpf_csum_diff**\ (),
|
||||
* which does not update the checksum in-place, but offers more
|
||||
|
|
@ -3945,6 +3946,7 @@ enum {
|
|||
BPF_F_PSEUDO_HDR = (1ULL << 4),
|
||||
BPF_F_MARK_MANGLED_0 = (1ULL << 5),
|
||||
BPF_F_MARK_ENFORCE = (1ULL << 6),
|
||||
BPF_F_IPV6 = (1ULL << 7),
|
||||
};
|
||||
|
||||
/* BPF_FUNC_clone_redirect and BPF_FUNC_redirect flags. */
|
||||
|
|
|
|||
Loading…
Reference in a new issue