[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20131219.144550.1168547541317435358.davem@davemloft.net>
Date: Thu, 19 Dec 2013 14:45:50 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: roy.qing.li@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] ipv6: trival improvements
From: roy.qing.li@...il.com
Date: Thu, 19 Dec 2013 14:18:52 +0800
> From: Li RongQing <roy.qing.li@...il.com>
>
> 1. remove the unnecessary setting rt.rt6i_metric to 0 since memset() has clear
> them.
> 2. call ip6_rt_put to release rt only when rt is not null in addrconf_prefix_rcv.
>
> Signed-off-by: Li RongQing <roy.qing.li@...il.com>
ip6_rt_put() transparently handles NULL just fine, don't special
case it like this.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists