Re: [PATCH net iproute2 v3 1/2] mpls: always set type as RTN_UNICAST for route add/deletes

2015-06-02 Thread Eric W. Biederman
Roopa Prabhu writes: > From: Roopa Prabhu > > Kernel expects type RTN_UNICAST for mpls route/dels There almost a bug in this patch. You test req.r.rtm_family just before the default case of AF_UNSPEC is set to AF_INET. Which should not affect anything in this case but is down right confusing

[PATCH net iproute2 v3 1/2] mpls: always set type as RTN_UNICAST for route add/deletes

2015-06-01 Thread Roopa Prabhu
From: Roopa Prabhu Kernel expects type RTN_UNICAST for mpls route/dels Signed-off-by: Vivek Venkataraman Signed-off-by: Roopa Prabhu Reviewed-by: Robert Shearman --- ip/iproute.c |5 + 1 file changed, 5 insertions(+) diff --git a/ip/iproute.c b/ip/iproute.c index 670a4c6..71c088b 1