net: optimize socket timestamping
authorEric Dumazet <eric.dumazet@gmail.com>
Mon, 28 Nov 2011 12:04:18 +0000 (12:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Nov 2011 05:27:11 +0000 (00:27 -0500)
commit08e29af3a9096ffdff477e537daea67faefd3952
tree11c8ab801659f1c77f9949cc20f30f232e95fe3a
parentb90e5794c5bdef91d26c623e992257947c506e35
net: optimize socket timestamping

We can test/set multiple bits from sk_flags at once, to shorten a bit
socket setup/dismantle phase.

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