]> git.baikalelectronics.ru Git - kernel.git/commit
net: Add __dev_forward_skb
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 17 Apr 2014 05:45:03 +0000 (13:45 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 20 Apr 2014 22:18:55 +0000 (18:18 -0400)
commit06f0237c000bf2aa4c66ef49a3bea7131a2b61cb
tree1b37b9f58ace1d7cc5c2ce4378a657e675b7349f
parenta566fa119d345a3942f91132588c90770ebe748e
net: Add __dev_forward_skb

This patch adds the helper __dev_forward_skb which is identical to
dev_forward_skb except that it doesn't actually inject the skb into
the stack.  This is useful where we wish to have finer control over
how the packet is injected, e.g., via netif_rx_ni or netif_receive_skb.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/core/dev.c