Re: [PATCH net v2 2/2] mpls: fix mpls route deletes to not check for route scope

2015-06-02 Thread roopa
On 6/1/15, 3:58 PM, David Miller wrote: From: Roopa Prabhu Date: Wed, 27 May 2015 11:37:05 -0700 - if (rtm->rtm_scope != RT_SCOPE_UNIVERSE) - goto errout; + if (nlh->nlmsg_type != RTM_DELROUTE && + rtm->rtm_scope != RT_SCOPE_UNIVERSE) +

Re: [PATCH net v2 2/2] mpls: fix mpls route deletes to not check for route scope

2015-06-01 Thread David Miller
From: Roopa Prabhu Date: Wed, 27 May 2015 11:37:05 -0700 > - if (rtm->rtm_scope != RT_SCOPE_UNIVERSE) > - goto errout; > + if (nlh->nlmsg_type != RTM_DELROUTE && > + rtm->rtm_scope != RT_SCOPE_UNIVERSE) > + goto errout; > + This is not indented

Re: [PATCH net v2 2/2] mpls: fix mpls route deletes to not check for route scope

2015-05-27 Thread Robert Shearman
On 27/05/15 19:37, Roopa Prabhu wrote: From: Roopa Prabhu Ignore scope for route del messages Signed-off-by: Vivek Venkataraman Signed-off-by: Roopa Prabhu Reviewed-by: Robert Shearman --- net/mpls/af_mpls.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a

[PATCH net v2 2/2] mpls: fix mpls route deletes to not check for route scope

2015-05-27 Thread Roopa Prabhu
From: Roopa Prabhu Ignore scope for route del messages Signed-off-by: Vivek Venkataraman Signed-off-by: Roopa Prabhu --- net/mpls/af_mpls.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/net/mpls/af_mpls.c b/net/mpls/af_mpls.c index 7b3f732..f4eb0dd 100644 --- a/