diff options
author | Eric Dumazet <edumazet@google.com> | 2012-12-01 13:07:02 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-12-01 20:39:16 -0500 |
commit | 64022d0b4e93ea432e95db55a72b8a1c5775f3c0 (patch) | |
tree | ea2ac7d7a7ed903d645c21d99f02ff6fdbb6aa96 /drivers | |
parent | 9f8933e960f98d27742727445061b0ece934e5cf (diff) |
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 <w@1wt.eu>
Tested-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions