aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorWillem de Bruijn <[email protected]>2025-02-14 22:26:59 +0000
committerJakub Kicinski <[email protected]>2025-02-19 02:27:19 +0000
commit6ad861519a69ecf3cf032c579e18569f62b81263 (patch)
treedced43bf294a41a8ebf5d5f5c137e06f47ac0108 /arch/powerpc/lib/code-patching.c
parenttcp: only initialize sockcm tsflags field (diff)
downloadkernel-6ad861519a69ecf3cf032c579e18569f62b81263.tar.gz
kernel-6ad861519a69ecf3cf032c579e18569f62b81263.zip
net: initialize mark in sockcm_init
Avoid open coding initialization of sockcm fields. Avoid reading the sk_priority field twice. This ensures all callers, existing and future, will correctly try a cmsg passed mark before sk_mark. This patch extends support for cmsg mark to: packet_spkt and packet_tpacket and net/can/raw.c. This patch extends support for cmsg priority to: packet_spkt and packet_tpacket. Signed-off-by: Willem de Bruijn <[email protected]> Reviewed-by: David Ahern <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions