diff options
author | Eric Dumazet <edumazet@google.com> | 2014-09-04 07:21:56 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-06 02:15:50 +0200 |
commit | caa415270c732505240bb60171c44a7838c555e8 (patch) | |
tree | cd44cd81f85c3904340f5cef1a359e2ae97a0c20 /scripts | |
parent | l2tp: fix missing line continuation (diff) | |
download | linux-caa415270c732505240bb60171c44a7838c555e8.tar.xz linux-caa415270c732505240bb60171c44a7838c555e8.zip |
ipv4: fix a race in update_or_create_fnhe()
nh_exceptions is effectively used under rcu, but lacks proper
barriers. Between kzalloc() and setting of nh->nh_exceptions(),
we need a proper memory barrier.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Fixes: 4895c771c7f00 ("ipv4: Add FIB nexthop exceptions.")
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions