Home
last modified time | relevance | path

Searched hist:"7143 dfac692cd25d48a24dbe8323bc17af95b4ec" (Results 1 – 2 of 2) sorted by relevance

/linux/net/ipv4/
H A Dah4.cdiff 7143dfac692cd25d48a24dbe8323bc17af95b4ec Fri Dec 28 09:07:16 CET 2012 Li RongQing <roy.qing.li@gmail.com> 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>
H A Desp4.cdiff 7143dfac692cd25d48a24dbe8323bc17af95b4ec Fri Dec 28 09:07:16 CET 2012 Li RongQing <roy.qing.li@gmail.com> 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>