]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'vrf-ipv6'
authorDavid S. Miller <davem@davemloft.net>
Tue, 13 Oct 2015 11:55:10 +0000 (04:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Oct 2015 11:55:10 +0000 (04:55 -0700)
commit44c31850f26b67182a4a1ba54fe7e8e1b5a88270
tree44fd3b3e5c0a37c2d5288963806b350383eb150b
parent8d5294a11ca5796cadcff7f27135de0aa3cb5d40
parentb206d57efad8a57e17379fd1a8ea1c13110061b5
Merge branch 'vrf-ipv6'

David Ahern says:

====================
net: VRF support in IPv6 stack

Initial support for VRF in IPv6 stack. Makes IPv6 functionality on par
with IPv4 -- ping, tcp client/server and udp client/server all work fine.
tcpdump on vrf device and external tap (e.g., host side tap device) shows
all packets with proper addresses. IPv6 does not need the source address
operation like IPv4. Verified vti6 works properly in my setup as does use
of an IPv6 address on the VRF device.

v3
- re-based to top of net-next (updates per net namespace changes by Eric)
- fixed dst_entry typecasts as requested by Dave
- added flags to inet6_rtm_getroute (IPv6 version of fd3ac268e711)

v2
- fixed CONFIG_IPV6 dependency as questioned by Cong
  - if IPV6 is a module, kbuild ensures VRF is a module
  - if IPV6 is disabled IPV6 functionality is compiled out of VRF module
- addressed comments from Nik over IRC
  - removed duplicate call to netif_is_l3_master in l3mdev_rt6_dst_by_oif
  - changed allocation flag from GFP_ATOMIC to GFP_KERNEL since it is init time
  - added free of rt6i_pcpu
  - check_ipv6_frame returns false only if packet is NDISC type
====================

Signed-off-by: David S. Miller <davem@davemloft.net>