raw: avoid two atomics in xmit
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 3 Jun 2010 22:23:57 +0000 (22:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Jun 2010 08:08:10 +0000 (01:08 -0700)
commit1789a640f55658d9a54c1868cc3405e4d85dbd8e
tree4ff0efbe06c9f8ab2ff715bfcda91dc31d7c7f65
parentfe33147a58e7d1d3086bf823aabfd491d843be82
raw: avoid two atomics in xmit

Avoid two atomic ops per raw_send_hdrinc() call

Avoid two atomic ops per raw6_send_hdrinc() call

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/raw.c
net/ipv6/raw.c