dev: packet: make packet_direct_xmit a common function
authorMagnus Karlsson <magnus.karlsson@intel.com>
Wed, 2 May 2018 11:01:33 +0000 (13:01 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 3 May 2018 22:55:24 +0000 (15:55 -0700)
commit865b03f21162e4edfda51fc08693c864b1d4fdaf
treea1ddbccb1429b3d756717a1487b636f253d476d9
parentf61459030ec7fffdaa3c462cc0f728eef11b4d05
dev: packet: make packet_direct_xmit a common function

The new dev_direct_xmit will be used by AF_XDP in later commits.

Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
include/linux/netdevice.h
net/core/dev.c
net/packet/af_packet.c