diff options
author | Eric Dumazet <[email protected]> | 2012-12-01 13:07:02 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2012-12-01 20:39:16 -0500 |
commit | 64022d0b4e93ea432e95db55a72b8a1c5775f3c0 (patch) | |
tree | ea2ac7d7a7ed903d645c21d99f02ff6fdbb6aa96 /tools/perf/util/trace-event-scripting.c | |
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 <[email protected]>
Tested-by: Willy Tarreau <[email protected]>
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions