]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
net: l3mdev: Add hook to output path
authorDavid Ahern <dsa@cumulusnetworks.com>
Sat, 10 Sep 2016 19:09:53 +0000 (12:09 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Sep 2016 06:12:52 +0000 (23:12 -0700)
commita8e3e1a9f02094145580ea7920c6a1d9aabd5539
tree1bedde4339e71fa07c4f73d27cfc807ec9220120
parent9ee0034b8f49aaaa7e7c2da8db1038915db99c19
net: l3mdev: Add hook to output path

This patch adds the infrastructure to the output path to pass an skb
to an l3mdev device if it has a hook registered. This is the Tx parallel
to l3mdev_ip{6}_rcv in the receive path and is the basis for removing
the existing hook that returns the vrf dst on the fib lookup.

Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/l3mdev.h
net/ipv4/ip_output.c
net/ipv6/ip6_output.c
net/ipv6/output_core.c
net/ipv6/raw.c