[NETFILTER]: Avoid warning on CONNTRACK_STAT_INC in death_by_timeout()
Module removal can call death_by_timeout() manually, which isn't in softirq context, so the CONNTRACK_STAT_INC() call there (which assumes preempt disabled) can give a warning. Of course, the warning here is spurious, but the simplest workaround is to call CONNTRACK_STAT_INC() inside the lock. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Showing
Please register or sign in to comment