Re: [Patch] net: fix incorrect counting in __scm_destroy()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric Dumazet
Date: Wednesday, November 4, 2009 - 3:29 am

Amerigo Wang a écrit :

Hmm, your patch seems suspicious.

Are you fixing a real crash/bug, or is it something you discovered in a code review ?

Given we kfree(fpl) at the end of loop, we cannot recursively call __scm_destroy()
on same fpl, it would be a bug anyway ?

So you probably need something better, like testing fpl->list being not re-included
in current->scm_work_list before kfree() it 

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[Patch] net: fix incorrect counting in __scm_destroy(), Amerigo Wang, (Wed Nov 4, 3:04 am)
Re: [Patch] net: fix incorrect counting in __scm_destroy(), Eric Dumazet, (Wed Nov 4, 3:29 am)