commit | 4b0ef1f223be4e092632b4152ceec5627ac10f59 | [log] [tgz] |
---|---|---|
author | Dang Hongwu <hongwu.dang@6wind.com> | Tue Jan 11 07:13:33 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Jan 11 14:03:10 2011 -0800 |
tree | 79472554ddc96359cdfe07f6b4967dabe9cb5eaa | |
parent | e44f391187495e0deaf7b9f0077e94f270837d1a [diff] |
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 <xuefu.wang@6wind.com> Acked-by: Krzysztof Witek <krzysztof.witek@6wind.com> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Signed-off-by: David S. Miller <davem@davemloft.net>