]> 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)
commit9ac3ce58056d4ff83fbb3ade2021ac48ae652782
tree14d43c58480c1dd36ec622d28248a4f369317320
parentbd00cd7b9ada35a9788f58972d147b03c48def62
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