summaryrefslogtreecommitdiffstats
path: root/net/core/dev.c
diff options
context:
space:
mode:
authorJarek Poplawski2009-04-30 14:41:19 +0200
committerDavid S. Miller2009-04-30 14:41:19 +0200
commit7a67e56fd362d3edfde1f19170893508c3940d3a (patch)
tree9bbddde4ab62836ab6d488f98ca653d56d6cb142 /net/core/dev.c
parentmv643xx_eth: 64bit mib counter read fix (diff)
downloadkernel-qcow2-linux-7a67e56fd362d3edfde1f19170893508c3940d3a.tar.gz
kernel-qcow2-linux-7a67e56fd362d3edfde1f19170893508c3940d3a.tar.xz
kernel-qcow2-linux-7a67e56fd362d3edfde1f19170893508c3940d3a.zip
net: Fix oops when splicing skbs from a frag_list.
Lennert Buytenhek wrote: > Since 4fb669948116d928ae44262ab7743732c574630d ("net: Optimize memory > usage when splicing from sockets.") I'm seeing this oops (e.g. in > 2.6.30-rc3) when splicing from a TCP socket to /dev/null on a driver > (mv643xx_eth) that uses LRO in the skb mode (lro_receive_skb) rather > than the frag mode: My patch incorrectly assumed skb->sk was always valid, but for "frag_listed" skbs we can only use skb->sk of their parent. Reported-by: Lennert Buytenhek <buytenh@wantstofly.org> Debugged-by: Lennert Buytenhek <buytenh@wantstofly.org> Tested-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Jarek Poplawski <jarkao2@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions