diff options
author | Pravin B Shelar <pshelar@nicira.com> | 2013-06-17 20:49:32 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-19 21:07:40 -0400 |
commit | 20fd4d1f04da07d09192ad8ad366a70d5125bfaf (patch) | |
tree | a241ed7f086c88361c4b411bee7fb45839fffc69 /include/net/gre.h | |
parent | ac8025a643a0e0beb81f3f37ca693364c6b77858 (diff) |
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 'include/net/gre.h')
0 files changed, 0 insertions, 0 deletions