aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorStanislav Fomichev <[email protected]>2025-05-06 01:19:19 +0000
committerJakub Kicinski <[email protected]>2025-05-07 01:52:39 +0000
commit78cd408356fe3edbac66598772fd347bf3e32c1f (patch)
tree3a73ff41c43c7468b12ab735342ea4403c0494db /net/unix/unix_bpf.c
parentnet: Lock netdevices during dev_shutdown (diff)
downloadkernel-78cd408356fe3edbac66598772fd347bf3e32c1f.tar.gz
kernel-78cd408356fe3edbac66598772fd347bf3e32c1f.zip
net: add missing instance lock to dev_set_promiscuity
Accidentally spotted while trying to understand what else needs to be renamed to netif_ prefix. Most of the calls to dev_set_promiscuity are adjacent to dev_set_allmulti or dev_disable_lro so it should be safe to add the lock. Note that new netif_set_promiscuity is currently unused, the locked paths call __dev_set_promiscuity directly. Fixes: ad7c7b2172c3 ("net: hold netdev instance lock during sysfs operations") Signed-off-by: Stanislav Fomichev <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions