Re: [PATCH 1/1] net/core: Fix crash in dev_mc_sync()/dev_mc_unsync()

2007-08-24 Thread David Miller
From: Patrick McHardy <[EMAIL PROTECTED]> Date: Thu, 23 Aug 2007 16:48:28 +0200 > Benjamin Thery wrote: > > From: [EMAIL PROTECTED] > > Subject: net/core: 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 addre

Re: [PATCH 1/1] net/core: Fix crash in dev_mc_sync()/dev_mc_unsync()

2007-08-23 Thread Patrick McHardy
Benjamin Thery wrote: > From: [EMAIL PROTECTED] > Subject: net/core: 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 b

Re: [PATCH 1/1] net/core: Fix crash in dev_mc_sync()/dev_mc_unsync()

2007-08-22 Thread Benjamin Thery
Oops, don't use the previous version of the patch: the change in dev_mc_unsync() was not correct. Sorry. This one is a lot better (it compiles and runs). :) Benjamin -- B e n j a m i n T h e r y - BULL/DT/Open Software R&D http://www.bull.com From: [EMAIL PROTECTED] Subject: net/core: Fix

[PATCH 1/1] net/core: Fix crash in dev_mc_sync()/dev_mc_unsync()

2007-08-21 Thread Benjamin Thery
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 PRO