android_kernel_google_msm/include
Nicolas Dichtel 1b5c151075 xfrm: allow to avoid copying DSCP during encapsulation
By default, DSCP is copying during encapsulation.
Copying the DSCP in IPsec tunneling may be a bit dangerous because packets with
different DSCP may get reordered relative to each other in the network and then
dropped by the remote IPsec GW if the reordering becomes too big compared to the
replay window.

It is possible to avoid this copy with netfilter rules, but it's very convenient
to be able to configure it for each SA directly.

This patch adds a toogle for this purpose. By default, it's not set to maintain
backward compatibility.

Field flags in struct xfrm_usersa_info is full, hence I add a new attribute.

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Change-Id: I885117f02790536e2c5002232b3b33be651a568d
2020-11-30 19:39:33 +03:00
..
acpi
asm-generic net: introduce SO_MAX_PACING_RATE 2020-11-30 19:31:32 +03:00
crypto Merge remote-tracking branch 'stable/linux-3.4.y' into lineage-15.1 2017-12-27 17:13:15 +03:00
drm Merge remote-tracking branch 'stable/linux-3.4.y' into lineage-15.1 2017-12-27 17:13:15 +03:00
keys
linux xfrm: allow to avoid copying DSCP during encapsulation 2020-11-30 19:39:33 +03:00
math-emu
media msm: vidc: Add support for Picture Order Count Type 2018-08-27 14:52:37 +00:00
misc
mtd
net xfrm: allow to avoid copying DSCP during encapsulation 2020-11-30 19:39:33 +03:00
pcmcia
rdma
rxrpc
scsi
sound ASoC: msm: flush if prior and current backends rate not matching 2018-08-27 14:52:45 +00:00
target Merge remote-tracking branch 'stable/linux-3.4.y' into lineage-15.1 2017-12-27 17:13:15 +03:00
trace Merge remote-tracking branch 'stable/linux-3.4.y' into lineage-15.1 2017-12-27 17:13:15 +03:00
uapi/linux shm: add memfd_create() syscall 2020-10-25 02:37:54 -04:00
video remove compilation error by changing int to uint32_t 2018-08-27 14:52:44 +00:00
xen
Kbuild