commit | dbfc4fb7d578d4f224faa6b60deb40804dfdc1b1 | [log] [tgz] |
---|---|---|
author | Hannes Frederic Sowa <hannes@stressinduktion.org> | Sat Dec 06 19:19:42 2014 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Dec 09 16:08:17 2014 -0500 |
tree | f474094df71aa758eab9799a7809f6f07712071e | |
parent | c19be735c99e221e00157c6db475fe007c056638 [diff] |
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 <edumazet@google.com> Cc: Julian Anastasov <ja@ssi.bg> Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org> Reviewed-by: Julian Anastasov <ja@ssi.bg> Signed-off-by: David S. Miller <davem@davemloft.net>