backports: add eth_get_headlen()
authorHauke Mehrtens <hauke@hauke-m.de>
Mon, 13 Oct 2014 22:06:02 +0000 (00:06 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 20 Oct 2014 21:36:04 +0000 (23:36 +0200)
commit857019226a217c0bf899f65f9e5bf01fcafc3e6e
tree671f9b7d99887ec156c40f377fb2182de705f785
parentf78bcbae0b737c6c4249d4cda68fa6a40aae072b
backports: add eth_get_headlen()

Instead of using the code from a recent kernel, I used the old code
from the igb driver to calculate the header length. The new code in the
kernel makes use of some __skb_flow_dissect() functions and headers not
available in 3.0.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
backport/backport-include/linux/etherdevice.h
backport/compat/Makefile
backport/compat/backport-3.18.c [new file with mode: 0644]