]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
esp: Use a synchronous crypto algorithm on offloading.
authorSteffen Klassert <steffen.klassert@secunet.com>
Fri, 14 Apr 2017 08:07:19 +0000 (10:07 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Fri, 14 Apr 2017 08:07:19 +0000 (10:07 +0200)
commitb3859c8ebffe26ddf7aec0b23a83389d6f2419f9
tree6119011235e2b2de172cfd3618121ea266c6b136
parentd7dbefc45cf5517a0cf9a0391316fab0abe71bd2
esp: Use a synchronous crypto algorithm on offloading.

We need a fallback algorithm for crypto offloading to a NIC.
This is because packets can be rerouted to other NICs that
don't support crypto offloading. The fallback is going to be
implemented at layer2 where we know the final output device
but can't handle asynchronous returns fron the crypto layer.

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/ipv4/esp4.c
net/ipv6/esp6.c