]> git.baikalelectronics.ru Git - kernel.git/commit
net: nlmon: flag nlmon devs with LLTX/SG
authorDaniel Borkmann <dborkman@redhat.com>
Thu, 27 Mar 2014 15:34:59 +0000 (16:34 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Mar 2014 20:49:47 +0000 (16:49 -0400)
commit217027b1e86ac72b56d4e350ba864c01312661cc
tree14d43c58480c1dd36ec622d28248a4f369317320
parent0f15568e86c32053a788fe5bddb5833e6a7167d6
net: nlmon: flag nlmon devs with LLTX/SG

As in xmit path we merely update statistics and free the skb, we
can mark the device with LLTX feature, so that upper layers can
avoid taking the single txq lock on xmit. While at it, also add
missing NETIF_F_SG.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/nlmon.c