From: Eric Dumazet Date: Sat, 1 Dec 2012 13:07:02 +0000 (+0000) Subject: tcp: fix crashes in do_tcp_sendpages() X-Git-Tag: v3.7-rc8~6^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64022d0b4e93ea432e95db55a72b8a1c5775f3c0;p=pandora-kernel.git tcp: fix crashes in do_tcp_sendpages() Recent network changes allowed high order pages being used for skb fragments. This uncovered a bug in do_tcp_sendpages() which was assuming its caller provided an array of order-0 page pointers. We only have to deal with a single page in this function, and its order is irrelevant. Reported-by: Willy Tarreau Tested-by: Willy Tarreau Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed