]> git.baikalelectronics.ru Git - kernel.git/commit
[TCP] MTUprobe: fix potential sk_send_head corruption
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Tue, 20 Nov 2007 07:24:09 +0000 (23:24 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Nov 2007 07:24:09 +0000 (23:24 -0800)
commitdf0e40c9741214cefe3bb61ec8f52683323b9fcb
tree6bbe19922e9b24d0ce4df6effc45abcf0aa2af51
parent23a3dfa437eaa49ab31cbdbeda1c89acd31c6989
[TCP] MTUprobe: fix potential sk_send_head corruption

When the abstraction functions got added, conversion here was
made incorrectly. As a result, the skb may end up pointing
to skb which got included to the probe skb and then was freed.
For it to trigger, however, skb_transmit must fail sending as
well.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h
net/ipv4/tcp_output.c