net: mpls: Fix setting ttl_propagate for rt2
Subsystems (2)
PATCH 1/1 net: mpls: Fix setting ttl_propagate for rt2
Fix copy and paste error setting rt_ttl_propagate.
--- net/mpls/af_mpls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/mpls/af_mpls.c +1 -1
@@ -1949,7 +1949,7 @@ static int resize_platform_label_table(struct net *net, size_t limit)RCU_INIT_POINTER (rt2->rt_nh->nh_dev, lo); rt2->rt_protocol =RTPROT_KERNEL ; rt2->rt_payload_type =MPT_IPV6 ; - rt0->rt_ttl_propagate =MPLS_TTL_PROP_DEFAULT ; + rt2->rt_ttl_propagate =MPLS_TTL_PROP_DEFAULT ; rt2->rt_nh->nh_via_table =NEIGH_LINK_TABLE ; rt2->rt_nh->nh_via_alen = lo->addr_len; memcpy(__mpls_nh_via(rt2, rt2->rt_nh), lo->dev_addr,
Signature · 1 line
2.10.1 (Apple Git-78)
Quoted 4 lines · David Ahern
Fix copy and paste error setting
rt_ttl_propagate.Fixes 5b441ac8784c1 ("mpls: allow TTL propagation to IP packets to be configured")Signed-off-by David Ahern <[email protected]>
Good catch.
From: David Ahern <[email protected]>
Date: Thu, 23 Mar 2017 19:02:27 -0600
Quoted 4 lines
Fix copy and paste error setting
rt_ttl_propagate.Fixes 5b441ac8784c1 ("mpls: allow TTL propagation to IP packets to be configured")Signed-off-by David Ahern <[email protected]>
Applied.
Quoted 10 lines · David Miller
From: David Ahern <[email protected]>
Date: Thu, 23 Mar 2017 19:02:27 -0600Quoted 4 lines
Fix copy and paste error setting
rt_ttl_propagate.Fixes 5b441ac8784c1 ("mpls: allow TTL propagation to IP packets to be configured")Signed-off-by David Ahern <[email protected]>Applied.
Hi Dave: are you planning to merge net into net-next in the next few days? I have more MPLS patches for net-next but I know there are conflicts with changes in net. Wanted to get those patch sets out before netdev week.
Thanks
David Miller
maintainerFrom: David Ahern <[email protected]>
Date: Fri, 24 Mar 2017 14:32:42 -0600
Quoted 9 lines · David Miller
Quoted 8 lines
From: David Ahern <[email protected]>
Date: Thu, 23 Mar 2017 19:02:27 -0600Quoted 4 lines
Fix copy and paste error setting
rt_ttl_propagate.Fixes 5b441ac8784c1 ("mpls: allow TTL propagation to IP packets to be configured")Signed-off-by David Ahern <[email protected]>
Quoted 7 lines
Quoted 2 lines
Applied.
Hi Dave: are you planning to merge net into net-next in the next few days? I have more MPLS patches for net-next but I know there are conflicts with changes in net. Wanted to get those patch sets out before netdev week.
I did a merge yesterday, so I am not likely to do another for about a week.
Quoted 1 line · David Miller
I did a merge yesterday, so I am not likely to do another for about a week.
hmmm.... some how I missed it. That merge has what I need.