tcp: skb_shift cannot cache frag ptrs past pskb_expand_head
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Tue, 25 Nov 2008 21:57:01 +0000 (13:57 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Nov 2008 21:57:01 +0000 (13:57 -0800)
Since pskb_expand_head creates copy of the shared area we
cannot keep any frag ptr past de-cloning. This fixes the
tcpdump recvfrom -EFAULT problem.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found