]> Git Repo - linux.git/commit
ah: reload pointers to skb data after calling skb_cow_data()
authorDang Hongwu <[email protected]>
Tue, 11 Jan 2011 07:13:33 +0000 (07:13 +0000)
committerDavid S. Miller <[email protected]>
Tue, 11 Jan 2011 22:03:10 +0000 (14:03 -0800)
commit4b0ef1f223be4e092632b4152ceec5627ac10f59
tree79472554ddc96359cdfe07f6b4967dabe9cb5eaa
parente44f391187495e0deaf7b9f0077e94f270837d1a
ah: reload pointers to skb data after calling skb_cow_data()

skb_cow_data() may allocate a new data buffer, so pointers on
skb should be set after this function.

Bug was introduced by commit dff3bb06 ("ah4: convert to ahash")
and 8631e9bd ("ah6: convert to ahash").

Signed-off-by: Wang Xuefu <[email protected]>
Acked-by: Krzysztof Witek <[email protected]>
Signed-off-by: Nicolas Dichtel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/ipv4/ah4.c
net/ipv6/ah6.c
This page took 0.042999 seconds and 4 git commands to generate.