On Mon, 2006-06-03 at 14:20 +0100, Patrick McHardy wrote: > [XFRM]: Fix aevent related crash > > When xfrm_user isn't loaded xfrm_nl is NULL, which makes IPsec crash because > xfrm_aevent_is_on passes the NULL pointer to netlink_has_listeners as socket.
For the above wouldnt it be better to just have an ifdef XFRM_USER then you call the current code and in the case when it is not compiled to always return 0? I guess the question is how much overhead does the rcu code add (since this is done per packet) The second one i think is ok since it is slow path. cheers, jamal - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html