[PATCH 3.4 010/125] net: fix a race in dst_release()

2016-10-12 Thread lizf
From: Eric Dumazet 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit d69bbf88c8d0b367cf3e3a052f6daadf630ee566 upstream. Only cpu seeing dst refcount going to 0 can safely dereference dst->flags. Otherwise an other cpu

[PATCH 3.4 010/125] net: fix a race in dst_release()

2016-10-12 Thread lizf
From: Eric Dumazet 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit d69bbf88c8d0b367cf3e3a052f6daadf630ee566 upstream. Only cpu seeing dst refcount going to 0 can safely dereference dst->flags. Otherwise an other cpu might already have