Files
twx-linux/net
Mark Huang bb417c4bad ulog: fix panic on SMP kernels
[NETFILTER]: ulog: fix panic on SMP kernels

Fix kernel panic on various SMP machines. The culprit is a null
ub->skb in ulog_send(). If ulog_timer() has already been scheduled on
one CPU and is spinning on the lock, and ipt_ulog_packet() flushes the
queue on another CPU by calling ulog_send() right before it exits,
there will be no skbuff when ulog_timer() acquires the lock and calls
ulog_send(). Cancelling the timer in ulog_send() doesn't help because
it has already been scheduled and is running on the first CPU.

Similar problem exists in ebt_ulog.c and nfnetlink_log.c.

Signed-off-by: Mark Huang <mlhuang@cs.princeton.edu>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-08-23 14:13:31 -07:00
..
2006-05-16 15:23:40 -07:00
2006-08-06 20:52:14 -07:00
2006-08-23 14:13:31 -07:00
2006-08-23 14:13:30 -07:00
2006-07-24 20:35:27 -07:00
2006-08-23 14:13:31 -07:00
2006-08-23 14:13:31 -07:00
2006-03-20 22:33:17 -08:00
2006-08-23 14:13:31 -07:00
2006-05-22 16:53:22 -07:00
2006-02-07 01:47:12 -05:00
2006-01-12 14:06:31 -08:00
2006-05-01 06:06:10 -04:00