[IPV6]: Move nfheader_len into rt6_info
The dst member nfheader_len is only used by IPv6. It's also currently creating a rather ugly alignment hole in struct dst. Therefore this patch moves it from there into struct rt6_info. It also reorders the fields in rt6_info to minimize holes. Signed-off-by:Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/net/dst.h 0 additions, 1 deletioninclude/net/dst.h
- include/net/ip6_fib.h 8 additions, 3 deletionsinclude/net/ip6_fib.h
- net/ipv4/xfrm4_policy.c 0 additions, 1 deletionnet/ipv4/xfrm4_policy.c
- net/ipv6/ip6_output.c 3 additions, 2 deletionsnet/ipv6/ip6_output.c
- net/ipv6/xfrm6_policy.c 2 additions, 1 deletionnet/ipv6/xfrm6_policy.c
Loading
Please register or sign in to comment