commit | aaa53c4aba14f14de06419a20e552fe2d8823a33 | [log] [tgz] |
---|---|---|
author | Benjamin Thery <benjamin.thery@bull.net> | Fri Aug 24 23:12:08 2007 -0700 |
committer | David S. Miller <davem@sunset.davemloft.net> | Sun Aug 26 18:35:43 2007 -0700 |
tree | f026db39803fa265b588dac40f014cdfd69cbc56 | |
parent | f424bb9efaee90b752aabcb4e5e95920ee9580bb [diff] |
[NET]: Fix crash in dev_mc_sync()/dev_mc_unsync() This patch fixes a crash that may occur when the routine dev_mc_sync() deletes an address from the list it is currently going through. It saves the pointer to the next element before deleting the current one. The problem may also exist in dev_mc_unsync(). Signed-off-by: Benjamin Thery <benjamin.thery@bull.net> Acked-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>