linux/Documentation/networking
Stanislav Fomichev 7ef83bf171 net: move promiscuity handling into netdev_rx_mode_work
Move unicast promiscuity tracking into netdev_rx_mode_work so it runs
under netdev_ops_lock instead of under the addr_lock spinlock. This
is required because __dev_set_promiscuity calls dev_change_rx_flags
and __dev_notify_flags, both of which may need to sleep.

Change ASSERT_RTNL() to netdev_ops_assert_locked() in
__dev_set_promiscuity, netif_set_allmulti and __dev_change_flags
since these are now called from the work queue under the ops lock.

Link: https://lore.kernel.org/netdev/20260214033859.43857-1-jiayuan.chen@linux.dev/
Fixes: 78cd408356 ("net: add missing instance lock to dev_set_promiscuity")
Reported-by: syzbot+2b3391f44313b3983e91@syzkaller.appspotmail.com
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Signed-off-by: Stanislav Fomichev <sdf@fomichev.me>
Link: https://patch.msgid.link/20260416185712.2155425-5-sdf@fomichev.me
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2026-04-21 12:50:24 +02:00
..
caif
device_drivers docs/mlx5: Fix typo subfuction 2026-03-26 18:30:47 -07:00
devlink devlink: Document resource scope filtering 2026-04-08 19:55:39 -07:00
diagnostic Documentation: use a source-read extension for the index link boilerplate 2026-01-23 11:59:34 -07:00
dsa net: dsa: remove struct platform_data 2026-04-08 19:38:52 -07:00
mac80211_hwsim
net_cachelines tcp: implement RFC 7323 window retraction receiver requirements 2026-03-14 08:01:49 -07:00
pse-pd
xfrm net: Move XFRM documentation into its own subdirectory 2025-11-12 08:30:03 +01:00
6lowpan.rst
6pack.rst net: 6pack: Demote "How to turn on 6pack support" section heading 2025-10-21 10:57:45 +02:00
af_xdp.rst net: xsk: introduce XDP_MAX_TX_SKB_BUDGET setsockopt 2025-07-10 14:48:29 +02:00
alias.rst
arcnet-hardware.rst Documentation: ARCnet: Update obsolete contact info 2025-10-31 18:08:08 -07:00
arcnet.rst Documentation: ARCnet: Update obsolete contact info 2025-10-31 18:08:08 -07:00
atm.rst
ax25.rst Documentation: networking: ax25: update the mailing list info. 2025-10-21 17:41:57 -07:00
bareudp.rst
batman-adv.rst
bonding.rst bonding: support aggregator selection based on port priority 2025-09-09 10:56:02 +02:00
bridge.rst docs: net: bridge: document stp_mode attribute 2026-04-10 15:52:25 -07:00
can.rst linux-can-fixes-for-6.18-20251014 2025-10-15 17:56:20 -07:00
can_ucan_protocol.rst
cdc_mbim.rst
checksum-offloads.rst
dctcp.rst
devmem.rst net: add devmem TCP TX documentation 2025-05-13 11:12:48 +02:00
dns_resolver.rst net: dns_resolver: Fix request-key cross-reference 2025-09-26 15:21:38 -07:00
driver.rst
eql.rst
ethtool-netlink.rst net: ethtool: add ethtool COALESCE_RX_CQE_FRAMES/NSECS 2026-03-18 20:01:10 -07:00
failover.rst
fib_trie.rst
filter.rst
gen_stats.rst
generic-hdlc.rst
generic_netlink.rst
gtp.rst
ieee802154.rst
ila.rst
index.rst Networking changes for 7.0 2026-02-11 19:31:52 -08:00
ioam6-sysctl.rst
iou-zcrx.rst io_uring/zcrx: document area chunking parameter 2026-01-14 02:13:37 +00:00
ip-sysctl.rst inet: add ip_local_port_step_width sysctl to improve port usage distribution 2026-03-10 18:59:39 -07:00
ip_dynaddr.rst
ipsec.rst
ipv6.rst
ipvlan.rst
ipvs-sysctl.rst ipvs: add conn_lfactor and svc_lfactor sysctl vars 2026-04-10 12:16:26 +02:00
iso15765-2.rst
j1939.rst
kapi.rst
kcm.rst docs/kcm: Fix typo "BFP" 2025-03-24 12:20:42 -07:00
l2tp.rst
lapb-module.rst
mac80211-auth-assoc-deauth.txt
mac80211-injection.rst
mctp.rst
mpls-sysctl.rst
mptcp-sysctl.rst mptcp: make ADD_ADDR retransmission timeout adaptive 2025-09-09 18:57:45 -07:00
mptcp.rst Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-09-11 17:40:13 -07:00
msg_zerocopy.rst
multi-pf-netdev.rst
multiqueue.rst
napi.rst net: Extend NAPI threaded polling to allow kthread based busy polling 2025-11-03 18:11:40 -08:00
net_dim.rst
net_failover.rst Documentation: net: net_failover: Separate cloud-ifupdown-helper and reattach-vf.sh code blocks marker 2025-10-17 16:28:29 -07:00
netconsole.rst Documentation: netconsole: Separate literal code blocks for full and short netcat command name versions 2025-10-31 16:54:22 -07:00
netdev-features.rst net: enable driver support for netmem TX 2025-05-13 11:12:49 +02:00
netdevices.rst net: move promiscuity handling into netdev_rx_mode_work 2026-04-21 12:50:24 +02:00
netfilter-sysctl.rst
netif-msg.rst
netmem.rst net: enable driver support for netmem TX 2025-05-13 11:12:49 +02:00
nexthop-group-resilient.rst
nf_conntrack-sysctl.rst netfilter: conntrack: remove DCCP protocol support 2025-07-03 13:51:39 +02:00
nf_flowtable.rst
nfc.rst net: nfc: Format userspace interface subsection headings 2025-10-21 10:57:45 +02:00
oa-tc6-framework.rst
openvswitch.rst
operstates.rst
packet_mmap.rst
page_pool.rst
phonet.rst
phy-link-topology.rst
phy-port.rst Documentation: networking: Document the phy_port infrastructure 2026-01-13 18:52:36 -08:00
phy.rst net: phy: remove unused fixup unregistering functions 2026-01-15 19:48:26 -08:00
pktgen.rst
plip.rst
ppp_generic.rst
proc_net_tcp.rst
psp.rst psp: add documentation 2025-09-18 12:32:06 +02:00
radiotap-headers.rst
rds.rst Documentation: Fix networking typos 2025-08-18 10:31:20 -06:00
regulatory.rst
representors.rst
rxrpc.rst Documentation: rxrpc: Demote three sections 2025-09-24 18:12:10 -07:00
scaling.rst net-sysfs: use rps_tag_ptr and remove metadata from rps_sock_flow_table 2026-03-04 16:54:09 -08:00
sctp.rst
secid.rst
seg6-sysctl.rst doc: fix seg6_flowlabel path 2025-10-12 22:51:37 +01:00
segmentation-offloads.rst net: gso: restore ids of outer ip headers correctly 2025-09-25 12:42:49 +02:00
sfp-phylink.rst
skbuff.rst
smc-sysctl.rst net/smc: Add documentation for limit_smc_hs and hs_ctrl 2026-03-10 17:53:03 -07:00
snmp_counter.rst
sriov.rst
statistics.rst net: docs: add missing features that can have stats 2025-10-20 18:31:25 -07:00
strparser.rst docs: networking: strparser: Fix a typo 2025-03-24 12:14:16 -07:00
switchdev.rst
sysfs-tagging.rst
tc-actions-env-rules.rst
tc-queue-filters.rst
tcp-thin.rst
tcp_ao.rst
team.rst
timestamping.rst net: remove legacy way to get/set HW timestamp config 2026-01-20 18:21:27 -08:00
tipc.rst
tls-handshake.rst net/handshake: Fixed grammar mistake 2026-02-27 19:24:08 -08:00
tls-offload-layers.svg
tls-offload-reorder-bad.svg
tls-offload-reorder-good.svg
tls-offload.rst docs: tls: Enhance TLS resync async process documentation 2026-01-17 15:26:13 -08:00
tls.rst net/tls: support setting the maximum payload size 2025-10-27 16:13:42 -07:00
tproxy.rst docs: tproxy: fix formatting for nft code block 2025-04-29 00:00:26 +02:00
tuntap.rst
udplite.rst
vrf.rst
vxlan.rst
x25-iface.rst
x25.rst
xdp-rx-metadata.rst doc: xdp: Clarify driver implementation for XDP Rx metadata 2025-07-16 16:36:11 -07:00
xsk-tx-metadata.rst