net: Separate out SKB validation logic from transmit path.
authorDavid S. Miller <davem@davemloft.net>
Sat, 30 Aug 2014 22:17:13 +0000 (15:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Sep 2014 00:39:55 +0000 (17:39 -0700)
commiteae3f88ee44251bcca3a085f9565257c6f9f9e69
tree391cbf69b702d81b637dfd03a8aa239eaf24535d
parent95f6b3dda2a4a052f7dabe9998e4ffac491b7bc2
net: Separate out SKB validation logic from transmit path.

dev_hard_start_xmit() does two things, it first validates and
canonicalizes the SKB, then it actually sends it.

Make a set of helper functions for doing the first part.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c