diff options
author | 2016-06-02 13:15:10 -0700 | |
---|---|---|
committer | 2016-06-06 15:19:02 -0700 | |
commit | 09fcf916620a7cfc9f2a74f315168e4770249534 (patch) | |
tree | 080e9bcd76e8fa055145a6dcfc592bbdb9a30df8 /drivers/net/virtio_net.c | |
parent | Merge branch 'hv_netvsc-cleanups' (diff) | |
download | wireguard-linux-09fcf916620a7cfc9f2a74f315168e4770249534.tar.xz wireguard-linux-09fcf916620a7cfc9f2a74f315168e4770249534.zip |
net: vrf: Minor refactoring for local address patches
Move the stripping of the ethernet header from is_ip_tx_frame into the
ipv4 and ipv6 outbound functions. If the packet is destined to a local
address the header is retained since the packet is sent back to netif_rx.
Collapse vrf_send_v4_prep into vrf_process_v4_outbound.
Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/virtio_net.c')
0 files changed, 0 insertions, 0 deletions