diff options
| author | Xuanqiang Luo <luoxuanqiang@kylinos.cn> | 2026-09-12 21:40:40 +0800 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-09-17 15:25:18 +0200 |
| commit | 546f109fdbbca75684f1041a1193cb910004a289 (patch) | |
| tree | d0685903834602190280ccb83ae9579694fb3331 /include/linux/debugobjects.h | |
| parent | 859e40055c19ceb8b8215f3269e57075023b72b4 (diff) | |
ipv6: make IPV6_FREEBIND and IPV6_TRANSPARENT setsockopt lockless
IPV6_FREEBIND and IPV6_TRANSPARENT still take the socket lock despite
using inet_assign_bit() to update the flags shared with IP_FREEBIND
and IP_TRANSPARENT. IPv6 TCP and UDP sockets can already update these
flags without the lock through the corresponding SOL_IP options.
Move both options to the lockless setsockopt path.
Signed-off-by: Xuanqiang Luo <luoxuanqiang@kylinos.cn>
Reviewed-by: Hangbin Liu <liuhangbin@kylinos.cn>
Link: https://patch.msgid.link/20260912134040.215664-1-xuanqiang.luo@linux.dev
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
