]> Git Repo - linux.git/commit
[NET]: Fix crash in dev_mc_sync()/dev_mc_unsync()
authorBenjamin Thery <[email protected]>
Sat, 25 Aug 2007 06:12:08 +0000 (23:12 -0700)
committerDavid S. Miller <[email protected]>
Mon, 27 Aug 2007 01:35:43 +0000 (18:35 -0700)
commitaaa53c4aba14f14de06419a20e552fe2d8823a33
treef026db39803fa265b588dac40f014cdfd69cbc56
parentf424bb9efaee90b752aabcb4e5e95920ee9580bb
[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 <[email protected]>
Acked-by: Patrick McHardy <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/core/dev_mcast.c
This page took 0.052085 seconds and 4 git commands to generate.