summaryrefslogtreecommitdiffstats
path: root/include/net/gre.h
diff options
context:
space:
mode:
authorPravin B Shelar <pshelar@nicira.com>2013-06-18 02:49:32 +0200
committerDavid S. Miller <davem@davemloft.net>2013-06-20 03:07:40 +0200
commit20fd4d1f04da07d09192ad8ad366a70d5125bfaf (patch)
treea241ed7f086c88361c4b411bee7fb45839fffc69 /include/net/gre.h
parentsh_eth: get R8A7740 Rx descriptor word 0 shift out of #ifdef (diff)
downloadlinux-20fd4d1f04da07d09192ad8ad366a70d5125bfaf.tar.xz
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