diff options
author | Pravin B Shelar <pshelar@nicira.com> | 2013-06-18 00:49:32 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-20 01:07:40 (GMT) |
commit | 20fd4d1f04da07d09192ad8ad366a70d5125bfaf (patch) | |
tree | a241ed7f086c88361c4b411bee7fb45839fffc69 /net/ipv4/ip_gre.c | |
parent | ac8025a643a0e0beb81f3f37ca693364c6b77858 (diff) | |
download | linux-fsl-qoriq-20fd4d1f04da07d09192ad8ad366a70d5125bfaf.tar.xz |
gre: Simplify gre protocol registration locking.
Use cmpxchg() for atomic protocol registration which saves
code and data space.
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ip_gre.c')
0 files changed, 0 insertions, 0 deletions