summaryrefslogtreecommitdiffstats
path: root/net/llc
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2008-03-29 00:25:26 +0100
committerDavid S. Miller <davem@davemloft.net>2008-03-29 00:25:26 +0100
commit2ba2506ca7ca62c56edaa334b0fe61eb5eab6ab0 (patch)
tree0a1b1f7046eff42e2323334b656543efdf85d38a /net/llc
parent[NET]: Don't send ICMP_FRAG_NEEDED for GSO packets (diff)
downloadlinux-2ba2506ca7ca62c56edaa334b0fe61eb5eab6ab0.tar.xz
linux-2ba2506ca7ca62c56edaa334b0fe61eb5eab6ab0.zip
[NET]: Add preemption point in qdisc_run
The qdisc_run loop is currently unbounded and runs entirely in a softirq. This is bad as it may create an unbounded softirq run. This patch fixes this by calling need_resched and breaking out if necessary. It also adds a break out if the jiffies value changes since that would indicate we've been transmitting for too long which starves other softirqs. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/llc')
0 files changed, 0 insertions, 0 deletions