diff options
author | 2013-06-17 17:49:32 -0700 | |
---|---|---|
committer | 2013-06-19 18:07:40 -0700 | |
commit | 20fd4d1f04da07d09192ad8ad366a70d5125bfaf (patch) | |
tree | a241ed7f086c88361c4b411bee7fb45839fffc69 /include/net/gre.h | |
parent | sh_eth: get R8A7740 Rx descriptor word 0 shift out of #ifdef (diff) | |
download | linux-20fd4d1f04da07d09192ad8ad366a70d5125bfaf.tar.gz linux-20fd4d1f04da07d09192ad8ad366a70d5125bfaf.tar.bz2 linux-20fd4d1f04da07d09192ad8ad366a70d5125bfaf.zip |
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