From: Eric Dumazet Date: Thu, 4 Sep 2014 05:21:56 +0000 (-0700) Subject: ipv4: fix a race in update_or_create_fnhe() X-Git-Tag: fixes-against-v3.18-rc2~81^2~156 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=caa415270c732505240bb60171c44a7838c555e8;p=pandora-kernel.git 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 Fixes: 4895c771c7f00 ("ipv4: Add FIB nexthop exceptions.") Signed-off-by: David S. Miller --- Reading git-diff-tree failed