diff options
author | Patrick McHardy | 2007-07-15 03:52:56 +0200 |
---|---|---|
committer | David S. Miller | 2007-07-15 03:52:56 +0200 |
commit | 6c78dcbd47a68a7d25d2bee7a6c74b9136cb5fde (patch) | |
tree | 21e4a2ea3eb7ed87ce525c59bb8c4d23d8c84589 /drivers/net/Kconfig | |
parent | [NET]: dev_mcast: add multicast list synchronization helpers (diff) | |
download | kernel-qcow2-linux-6c78dcbd47a68a7d25d2bee7a6c74b9136cb5fde.tar.gz kernel-qcow2-linux-6c78dcbd47a68a7d25d2bee7a6c74b9136cb5fde.tar.xz kernel-qcow2-linux-6c78dcbd47a68a7d25d2bee7a6c74b9136cb5fde.zip |
[VLAN]: Fix promiscous/allmulti synchronization races
The set_multicast_list function may be called without holding the rtnl
mutex, resulting in races when changing the underlying device's promiscous
and allmulti state. Use the change_rx_mode hook, which is always invoked
under the rtnl.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/Kconfig')
0 files changed, 0 insertions, 0 deletions