summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_cong.c
diff options
context:
space:
mode:
authorEric Dumazet2014-06-06 15:44:03 +0200
committerDavid S. Miller2014-06-08 23:15:14 +0200
commit87757a917b0b3c0787e0563c679762152be81312 (patch)
treeffc8bfa37fc3db09ac90bff273fbf13085e8d558 /net/ipv4/tcp_cong.c
parentnet: qmi_wwan: add Olivetti Olicard modems (diff)
downloadkernel-qcow2-linux-87757a917b0b3c0787e0563c679762152be81312.tar.gz
kernel-qcow2-linux-87757a917b0b3c0787e0563c679762152be81312.tar.xz
kernel-qcow2-linux-87757a917b0b3c0787e0563c679762152be81312.zip
net: force a list_del() in unregister_netdevice_many()
unregister_netdevice_many() API is error prone and we had too many bugs because of dangling LIST_HEAD on stacks. See commit f87e6f47933e3e ("net: dont leave active on stack LIST_HEAD") In fact, instead of making sure no caller leaves an active list_head, just force a list_del() in the callee. No one seems to need to access the list after unregister_netdevice_many() Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_cong.c')
0 files changed, 0 insertions, 0 deletions