commit | 09fcf916620a7cfc9f2a74f315168e4770249534 | [log] [tgz] |
---|---|---|
author | David Ahern <dsa@cumulusnetworks.com> | Thu Jun 02 13:15:10 2016 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Jun 06 15:19:02 2016 -0700 |
tree | 080e9bcd76e8fa055145a6dcfc592bbdb9a30df8 | |
parent | b94eb2ce3b2abc1b6b533975d3e7750b78b35a83 [diff] |
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>