From: Hannes Frederic Sowa Date: Sat, 6 Dec 2014 18:19:42 +0000 (+0100) Subject: dst: no need to take reference on DST_NOCACHE dsts X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbfc4fb7d578d4f224faa6b60deb40804dfdc1b1;p=pandora-kernel.git dst: no need to take reference on DST_NOCACHE dsts Since commit f8864972126899 ("ipv4: fix dst race in sk_dst_get()") DST_NOCACHE dst_entries get freed by RCU. So there is no need to get a reference on them when we are in rcu protected sections. Cc: Eric Dumazet Cc: Julian Anastasov Signed-off-by: Hannes Frederic Sowa Reviewed-by: Julian Anastasov Signed-off-by: David S. Miller --- Reading git-diff-tree failed