]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - net/ipv4/esp4.c
net: Add asynchronous callbacks for xfrm on layer 2.
authorSteffen Klassert <steffen.klassert@secunet.com>
Wed, 20 Dec 2017 09:41:36 +0000 (10:41 +0100)
committerSteffen Klassert <steffen.klassert@secunet.com>
Wed, 20 Dec 2017 09:41:36 +0000 (10:41 +0100)
commitf53c723902d1ac5f0b0a11d7c9dcbff748dde74e
tree50841e9a0ff29530ee84e262857333925e09f2ff
parent3dca3f38cfb8efb8571040568cac7d0025fa5bb1
net: Add asynchronous callbacks for xfrm on layer 2.

This patch implements asynchronous crypto callbacks
and a backlog handler that can be used when IPsec
is done at layer 2 in the TX path. It also extends
the skb validate functions so that we can update
the driver transmit return codes based on async
crypto operation or to indicate that we queued the
packet in a backlog queue.

Joint work with: Aviv Heller <avivh@mellanox.com>

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
include/linux/netdevice.h
include/net/xfrm.h
net/core/dev.c
net/ipv4/esp4.c
net/ipv6/esp6.c
net/packet/af_packet.c
net/sched/sch_generic.c
net/xfrm/xfrm_device.c