summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSteffen Klassert <steffen.klassert@secunet.com>2017-05-03 08:44:27 +0200
committerSteffen Klassert <steffen.klassert@secunet.com>2017-05-04 07:27:26 +0200
commit0e78a87306a6f55b1c7bbafad1de62c3975953ca (patch)
treeaf330a0ac91610abacfa6bbb10eca116c34b55c5 /drivers
parentf411af6822182f84834c4881b825dd40534e7fe8 (diff)
downloadlinux-rt-0e78a87306a6f55b1c7bbafad1de62c3975953ca.tar.gz
esp4: Fix udpencap for local TCP packets.
Locally generated TCP packets are usually cloned, so we do skb_cow_data() on this packets. After that we need to reload the pointer to the esp header. On udpencap this header has an offset to skb_transport_header, so take this offset into account. Fixes: 67d349ed603 ("net/esp4: Fix invalid esph pointer crash") Fixes: fca11ebde3f0 ("esp4: Reorganize esp_output") Reported-by: Don Bowman <db@donbowman.ca> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions