]> git.baikalelectronics.ru Git - kernel.git/commit
fib6: use FIB_LOOKUP_NOREF in fib6_rule_lookup()
authorEric Dumazet <eric.dumazet@gmail.com>
Wed, 13 Oct 2010 02:45:40 +0000 (02:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 16 Oct 2010 18:13:21 +0000 (11:13 -0700)
commit3d6b8b9b84a7497d94bddeb9456bca5a7467308b
tree88611bd6da79d83621ec56b7093f999795c31580
parentf8a98e97d0c2591a5f952cd19edbef09a9fe5870
fib6: use FIB_LOOKUP_NOREF in fib6_rule_lookup()

Avoid two atomic ops on found rule in fib6_rule_lookup()

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/fib6_rules.c