android_kernel_xiaomi_sm8350/net/bridge
Mark Huang dcb7cd97f1 [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: David S. Miller <davem@davemloft.net>
2006-08-13 18:57:54 -07:00
..
netfilter [NETFILTER]: ulog: fix panic on SMP kernels 2006-08-13 18:57:54 -07:00
br_device.c [NET]: Added GSO header verification 2006-06-29 16:57:53 -07:00
br_fdb.c
br_forward.c [NET] gso: Add skb_is_gso 2006-07-08 13:34:32 -07:00
br_if.c [NET]: Added GSO header verification 2006-06-29 16:57:53 -07:00
br_input.c [BRIDGE]: keep track of received multicast packets 2006-05-05 17:07:13 -07:00
br_ioctl.c [NET]: Conversions from kmalloc+memset to k(z|c)alloc. 2006-07-21 14:51:30 -07:00
br_netfilter.c [NETFILTER]: bridge netfilter: add deferred output hooks to feature-removal-schedule 2006-07-24 22:54:55 -07:00
br_netlink.c [BRIDGE]: netlink status fix 2006-08-04 22:59:48 -07:00
br_notify.c [BRIDGE]: netlink interface for link management 2006-06-17 21:26:14 -07:00
br_private_stp.h
br_private.h [BRIDGE]: netlink interface for link management 2006-06-17 21:26:14 -07:00
br_stp_bpdu.c
br_stp_if.c [BRIDGE]: netlink interface for link management 2006-06-17 21:26:14 -07:00
br_stp_timer.c
br_stp.c
br_sysfs_br.c
br_sysfs_if.c
br.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
Kconfig
Makefile [BRIDGE]: netlink interface for link management 2006-06-17 21:26:14 -07:00