commit | 20fd4d1f04da07d09192ad8ad366a70d5125bfaf | [log] [tgz] |
---|---|---|
author | Pravin B Shelar <pshelar@nicira.com> | Mon Jun 17 17:49:32 2013 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed Jun 19 18:07:40 2013 -0700 |
tree | a241ed7f086c88361c4b411bee7fb45839fffc69 | |
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>