]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit60f2c26c5a15bab5c17a4b391d77cd31a3abbbc5
tree391cbf69b702d81b637dfd03a8aa239eaf24535d
parent1ba94c14135a38f44529b294ce9fc26646e54778
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