diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-11-28 23:53:39 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-11-28 23:59:39 -0500 |
commit | e81c73596704793e73e6dbb478f41686f15a4b34 (patch) | |
tree | 4068f2efd7ede53492cecaa939951fff0b02fdfe /arch/mips/kernel/Makefile | |
parent | af443b6d90de17f7630621269cf0610d9d772670 (diff) |
[NET]: Fix MAX_HEADER setting.
MAX_HEADER is either set to LL_MAX_HEADER or LL_MAX_HEADER + 48, and
this is controlled by a set of CONFIG_* ifdef tests.
It is trying to use LL_MAX_HEADER + 48 when any of the tunnels are
enabled which set hard_header_len like this:
dev->hard_header_len = LL_MAX_HEADER + sizeof(struct xxx);
The correct set of tunnel drivers which do this are:
ipip
ip_gre
ip6_tunnel
sit
so make the ifdef test match.
Noticed by Patrick McHardy and with help from Herbert Xu.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/mips/kernel/Makefile')
0 files changed, 0 insertions, 0 deletions