net: vrf: Minor refactoring for local address patches
authorDavid Ahern <dsa@cumulusnetworks.com>
Tue, 7 Jun 2016 03:50:38 +0000 (20:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Jun 2016 07:25:38 +0000 (00:25 -0700)
commit911a66fbc83c7eeeac8872a5bfe284a240b3cc4a
treef2664b75c46c2511dc13c9620c9453524698844f
parentc1e48af7960e93e1fbe54934be8f4a2fb66ef6fd
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 and 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>
drivers/net/vrf.c