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)
commit9f782db3f5ceee9aa8de6f853969fbec1b8c6e65
treeb798a8186941e5e95796862e3f2520f253791bf4
parentf6486d40b33d1ac2c44c7c55db7edf022d9f4329
tcp: skb_shift cannot cache frag ptrs past pskb_expand_head

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>
net/core/skbuff.c