diff options
author | Li RongQing <roy.qing.li@gmail.com> | 2012-12-28 09:07:16 +0100 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2013-01-08 12:41:30 +0100 |
commit | 7143dfac692cd25d48a24dbe8323bc17af95b4ec (patch) | |
tree | b7bd65be7b147b50b4c09f9c1523ed7097586750 /net/ipv6/ah6.c | |
parent | ipv4: fix NULL checking in devinet_ioctl() (diff) | |
download | linux-7143dfac692cd25d48a24dbe8323bc17af95b4ec.tar.xz linux-7143dfac692cd25d48a24dbe8323bc17af95b4ec.zip |
ah4/esp4: set transport header correctly for IPsec tunnel mode.
IPsec tunnel does not set ECN field to CE in inner header when
the ECN field in the outer header is CE, and the ECN field in
the inner header is ECT(0) or ECT(1).
The cause is ipip_hdr() does not return the correct address of
inner header since skb->transport-header is not the inner header
after esp_input_done2(), or ah_input().
Signed-off-by: Li RongQing <roy.qing.li@gmail.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/ipv6/ah6.c')
0 files changed, 0 insertions, 0 deletions