android_kernel_xiaomi_sm8350/net/bridge
Stephen Hemminger 8d4698f7a5 bridge: don't allow setting hello time to zero
Dushan Tcholich reports that on his system ksoftirqd can consume
between %6 to %10 of cpu time, and cause ~200 context switches per
second.

He then correlated this with a report by bdupree@techfinesse.com:

	http://marc.info/?l=linux-kernel&m=119613299024398&w=2

and the culprit cause seems to be starting the bridge interface.
In particular, when starting the bridge interface, his scripts
are specifying a hello timer interval of "0".

The bridge hello time can't be safely set to values less than 1
second, otherwise it is possible to end up with a runaway timer.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-09-08 13:46:54 -07:00
..
netfilter netfilter: ebtables: use nf_register_hooks() 2008-07-26 17:47:53 -07:00
br_device.c bridge: show offload settings 2008-08-15 19:51:07 -07:00
br_fdb.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 2008-07-18 02:39:39 -07:00
br_forward.c net: Discard and warn about LRO'd skbs received for forwarding 2008-06-19 16:22:28 -07:00
br_if.c bridge: send correct MTU value in PMTU (revised) 2008-07-30 16:27:55 -07:00
br_input.c bridge: handle process all link-local frames 2008-06-17 16:09:45 -07:00
br_ioctl.c bridge: don't allow setting hello time to zero 2008-09-08 13:46:54 -07:00
br_netfilter.c bridge: fix compile warning in net/bridge/br_netfilter.c 2008-08-05 01:21:22 -07:00
br_netlink.c [NET] NETNS: Omit sock->sk_net without CONFIG_NET_NS. 2008-03-26 04:39:55 +09:00
br_notify.c netns: Use net_eq() to compare net-namespaces for optimization. 2008-07-19 22:34:43 -07:00
br_private_stp.h net: remove CVS keywords 2008-06-11 21:00:38 -07:00
br_private.h bridge: send correct MTU value in PMTU (revised) 2008-07-30 16:27:55 -07:00
br_stp_bpdu.c netns: Use net_eq() to compare net-namespaces for optimization. 2008-07-19 22:34:43 -07:00
br_stp_if.c bridge: make bridge address settings sticky 2008-06-17 16:10:06 -07:00
br_stp_timer.c net: remove CVS keywords 2008-06-11 21:00:38 -07:00
br_stp.c bridge: Eliminate unnecessary forward delay 2008-08-05 18:42:51 -07:00
br_sysfs_br.c bridge: don't allow setting hello time to zero 2008-09-08 13:46:54 -07:00
br_sysfs_if.c
br.c bridge: Use STP demux 2008-07-05 21:25:56 -07:00
Kconfig bridge: Use STP demux 2008-07-05 21:25:56 -07:00
Makefile