inner packets, but still defaults to IPv6.
Fixes: 308edfdf1563 ("gre6: Cleanup GREv6 receive path, call common GRE
functions")
Signed-off-by: Mark Tomlinson
---
net/ipv6/ip6_tunnel.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/net/ipv6/ip6_tunnel.c
The function ip6mr_mfc_add() declared an array of ttls. If MAXMIFS is
large, this would create a large stack frame. This is fixed, and made
more efficient, by passing mf6cc_ifset to ip6mr_update_thresholds().
Signed-off-by: Mark Tomlinson
---
As background to this patch, we have MAXMIFS set to
On 09/23/2016 10:41 AM, David Ahern wrote:
> On 9/22/16 4:10 PM, Mark Tomlinson wrote:
>> On 09/23/2016 03:14 AM, David Ahern wrote:
>>> l3mdev devices do not support IPv4 multicast so checking mcast against that
>>> device should not be working at all. For that
On 09/23/2016 03:14 AM, David Ahern wrote:
>
> l3mdev devices do not support IPv4 multicast so checking mcast against that
> device should not be working at all. For that reason I was fine with the
> change in the previous patch. ie., you want the real ingress device there not
> the vrf device.
->dev when checking multicast addresses.
skb->dev has been set to the l3mdev by this point, so the check will be
against that, rather than the ingress interface.
Fixes: "net:VRF: Pass original iif to ip_route_input()"
Signed-off-by: Mark Tomlinson
---
net/ipv4/route.c | 2 +-
1
ial
net_device. This is passed to the other functions within ip_rcv_finish,
so they still see the original interface.
Signed-off-by: Mark Tomlinson
Acked-by: David Ahern
---
net/ipv4/ip_input.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/net/ipv4/ip_input.c b/net/i
ial
net_device. This is passed to the other functions within ip_rcv_finish,
so they still see the original interface.
Please note that while this patch fixes my issue, I am not entirely sure
why the skb->dev is changed to the master device, so I am not sure this
is the right fix.
Signed-off-by
("net: Add routes to the table associated with the device")
Acked-by: David Ahern
Tested-by: David Ahern
Signed-off-by: Mark Tomlinson
---
include/net/ip_fib.h | 3 ++-
net/ipv4/fib_frontend.c | 3 ++-
net/ipv4/fib_semantics.c | 8 ++--
3 files changed, 10 insertions(+), 4 del
_info to hold a table
id. When removing fib entries corresponding to a local ip address, this
table id is also used in the comparison.
The table id is populated when the fib_info is created. This was already
done in some places, but not in ip_rt_ioctl(). This has now been fixed.
Signed-off-by:
error. Other calls to this and other similar
notification functions either ignore the error code, or filter ESRCH.
This patch checks for ESRCH and does not flag this as an error.
Reviewed-by: Hamish Martin
Signed-off-by: Mark Tomlinson
---
net/l2tp/l2tp_netlink.c | 18 ++
1 file
10 matches
Mail list logo