Skip to content
Commit 4b0ef1f2 authored by Dang Hongwu's avatar Dang Hongwu Committed by David S. Miller
Browse files

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: default avatarWang Xuefu <xuefu.wang@6wind.com>
Acked-by: default avatarKrzysztof Witek <krzysztof.witek@6wind.com>
Signed-off-by: default avatarNicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e44f3911
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment