Commit 96d5822
ipv6: Allow IPv4-mapped address as next-hop
Made kernel accept IPv6 routes with IPv4-mapped address as next-hop.
It is possible to configure IP interfaces with IPv4-mapped addresses, and
one can add IPv6 routes for IPv4-mapped destinations/prefixes, yet prior
to this fix the kernel returned an EINVAL when attempting to add an IPv6
route with an IPv4-mapped address as a nexthop/gateway.
RFC 4798 (a proposed standard RFC) uses IPv4-mapped addresses as nexthops,
thus in order to support that type of address configuration the kernel
needs to allow IPv4-mapped addresses as nexthops.
Signed-off-by: Erik Nordmark <[email protected]>
Signed-off-by: Bob Gilligan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>1 parent 3c83974 commit 96d5822
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2000 | 2000 | | |
2001 | 2001 | | |
2002 | 2002 | | |
| 2003 | + | |
| 2004 | + | |
2003 | 2005 | | |
2004 | | - | |
| 2006 | + | |
| 2007 | + | |
2005 | 2008 | | |
2006 | 2009 | | |
2007 | 2010 | | |
| |||
0 commit comments