diff options
| author | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2002-09-29 03:08:19 -0500 |
|---|---|---|
| committer | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2002-09-29 03:08:19 -0500 |
| commit | 1ebb29814f9db40dbd6b8339906bae3b0589f816 (patch) | |
| tree | 42f6ed11c61b091f76402f31ad5668c8beca8f90 /include | |
| parent | 02e0e212f4c1923b0a241830f83d4be55c06e8b0 (diff) | |
NET: Do not use dev->hard_header_len in eth_type_trans()
eth_type_trans() currently pulls dev->hard_header_len off a frame
passed to it, however always interpreting it as a ethernet header.
Grepping shows that it is only used on net devices where
dev->hard_header_len == ETH_HLEN. It makes more sense to actually
pull of ETH_HLEN for the header (it's treated as a struct of the length
anyway), not changing the behavior for the existing users but allowing
two places which had to use their private copies of eth_trans_type to
use the generic routine now.
One place is in drivers/net/hamachi.c and converted in this cset, the other
one is in the ISDN network code, patch will follow.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
