Eric Dumazet d69bbf88c8 net: fix a race in dst_release()
Only cpu seeing dst refcount going to 0 can safely
dereference dst->flags.

Otherwise an other cpu might already have freed the dst.

Fixes: 27b75c95f10d ("net: avoid RCU for NOCACHE dst")
Reported-by: Greg Thelen <gthelen@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-11-09 21:55:48 -05:00
..
2015-11-09 21:55:48 -05:00
2015-04-02 14:04:59 -04:00
2015-10-08 04:27:03 -07:00
2015-05-17 23:41:11 -04:00
2015-08-29 13:05:16 -07:00
2015-10-23 05:44:28 -07:00
2015-11-02 16:28:49 -05:00
2015-10-26 22:24:22 -07:00
2015-10-08 05:26:35 -07:00