Re: [PATCH] nf_conntrack_sip: fix by making helper pointers thread-local

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



adobriyan@xxxxxxxxx wrote:
Patrick, do I read correctly that ->help hook can run concurrently with itself?

If yes, apply this patch to fix potential crashes and all sorts of
nasties.



[PATCH] nf_conntrack_sip: de-static helper pointers

Helper's ->help hook can run concurrently with itself, so iterating over
SIP helpers with static pointer won't work reliably.


Crap. Good catch, thanks a lot. Applied and I'll push it to -stable.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux