aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2016-11-02 07:53:17 -0700
committerDavid S. Miller <[email protected]>2016-11-03 15:33:30 -0400
commitac9e70b17ecd7c6e933ff2eaf7ab37429e71bf4d (patch)
tree781677be717b11066e303449ee4abd787048816e /tools/perf/scripts/python
parent9512925a2cc2b1cd0206bb93bad200a69716f998 (diff)
tcp: fix potential memory corruption
Imagine initial value of max_skb_frags is 17, and last skb in write queue has 15 frags. Then max_skb_frags is lowered to 14 or smaller value. tcp_sendmsg() will then be allowed to add additional page frags and eventually go past MAX_SKB_FRAGS, overflowing struct skb_shared_info. Fixes: 5f74f82ea34c ("net:Add sysctl_max_skb_frags") Signed-off-by: Eric Dumazet <[email protected]> Cc: Hans Westgaard Ry <[email protected]> Cc: HÃ¥kon Bugge <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions