From: Martin KaFai Lau Date: Sat, 23 May 2015 03:56:01 +0000 (-0700) Subject: ipv6: Add rt6_get_cookie() function X-Git-Tag: omap-for-v4.3/legacy-v2-signed~163^2~224^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b197df4f0f3782782e9ea8996e91b65ae33e8dd9;p=pandora-kernel.git ipv6: Add rt6_get_cookie() function Instead of doing the rt6->rt6i_node check whenever we need to get the route's cookie. Refactor it into rt6_get_cookie(). It is a prep work to handle FLOWI_FLAG_KNOWN_NH and also percpu rt6_info later. Signed-off-by: Martin KaFai Lau Cc: Hannes Frederic Sowa Cc: Steffen Klassert Cc: Julian Anastasov Signed-off-by: David S. Miller --- Reading git-diff-tree failed