diff options
| author | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2002-09-29 03:00:13 -0500 |
|---|---|---|
| committer | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2002-09-29 03:00:13 -0500 |
| commit | 02e0e212f4c1923b0a241830f83d4be55c06e8b0 (patch) | |
| tree | fe950a6b407fb8a7c41437836d8cc16f9651f57a /include/linux/raid | |
| parent | 3dcf3431c494d4ab5573ab99c0c6327377a77045 (diff) | |
NET: Do not use dev->hard_header_len in eth_header()
The actual return value of eth_header() is never used, only its sign.
So it does not make a difference if we return dev->hard_header_len or
ETH_HLEN, but the latter makes more sense as that is the number of bytes
we added to the front of the frame.
For 99% of the drivers, dev->hard_header_len == ETH_HLEN, so no difference
at all, but if a driver actually needs additional headroom and thus
has dev->hard_header_len > ETH_HLEN, the process of building the ethernet
header should not care at all.
Diffstat (limited to 'include/linux/raid')
0 files changed, 0 insertions, 0 deletions
