]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf9b0a3816a572c91a3c0b9e5806d5b5f3d2a1776
treef2664b75c46c2511dc13c9620c9453524698844f
parentdd9b35cb1662ca6ea574770e7acd3240555bd9f9
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