]> asedeno.scripts.mit.edu Git - linux.git/commit
esp4: prepare esp_input_done2 for non-UDP encapsulation
authorSabrina Dubroca <sd@queasysnail.net>
Mon, 25 Nov 2019 13:49:00 +0000 (14:49 +0100)
committerSteffen Klassert <steffen.klassert@secunet.com>
Mon, 9 Dec 2019 08:59:07 +0000 (09:59 +0100)
commit25f6802b4c18817c82cd581d38ce155ad6412176
tree9f13eb3c6ed823f1890ef292ab17b38037f21499
parentcac3c71604cf4eada8df00b1e66892636399cda5
esp4: prepare esp_input_done2 for non-UDP encapsulation

For espintcp encapsulation, we will need to get the source port from the
TCP header instead of UDP. Introduce a variable to hold the port.

Co-developed-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/ipv4/esp4.c