Re: [PATCH net-next] net: ipv4: remove unnecessary check on orig_oif

2017-08-13 Thread David Miller
From: David Ahern Date: Fri, 11 Aug 2017 17:02:02 -0700 > rt_iif is going to be set to either 0 or orig_oif. If orig_oif > is 0 it amounts to the same end result so remove the check. > > Signed-off-by: David Ahern Applied, thanks David.

[PATCH net-next] net: ipv4: remove unnecessary check on orig_oif

2017-08-11 Thread David Ahern
rt_iif is going to be set to either 0 or orig_oif. If orig_oif is 0 it amounts to the same end result so remove the check. Signed-off-by: David Ahern --- net/ipv4/route.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv4/route.c b/net/ipv4/route.c index 6324ade81a81..9