android_kernel_xiaomi_sm8350/net/ipv6
Benjamin Thery 0a8891a0a4 [IPv6]: use container_of() macro in fib6_clean_node()
In ip6_fib.c, fib6_clean_node() casts a fib6_walker_t pointer to
a fib6_cleaner_t pointer assuming a struct fib6_walker_t (field 'w')
is the first field in struct fib6_walker_t.

To prevent any future problems that may occur if one day a field
is inadvertently inserted before the 'w' field in struct fib6_cleaner_t,
(and to improve readability), this patch uses the container_of() macro.

Signed-off-by: Benjamin Thery <benjamin.thery@bull.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-10-10 16:54:58 -07:00
..
netfilter [NETFILTER]: ctnetlink: use netlink policy 2007-10-10 16:53:35 -07:00
addrconf_core.c [IPV6]: ipv6_addr_type() doesn't know about RFC4193 addresses. 2007-07-31 02:28:21 -07:00
addrconf.c [NET]: Make the loopback device per network namespace. 2007-10-10 16:52:49 -07:00
af_inet6.c [IPV6]: Add ICMPMsgStats MIB (RFC 4293) [rev 2] 2007-10-10 16:51:27 -07:00
ah6.c [IPSEC]: Move output replay code into xfrm_output 2007-10-10 16:54:54 -07:00
anycast.c [NET]: sparse warning fixes 2007-10-10 16:54:48 -07:00
datagram.c [NET]: Make the device list and device lookups per namespace. 2007-10-10 16:49:10 -07:00
esp6.c [IPSEC]: Move output replay code into xfrm_output 2007-10-10 16:54:54 -07:00
exthdrs_core.c
exthdrs.c
fib6_rules.c [IPV4/IPV6/DECNET]: Small cleanup for fib rules. 2007-10-10 16:51:22 -07:00
icmp.c [IPV6]: Add ICMPMsgStats MIB (RFC 4293) [rev 2] 2007-10-10 16:51:27 -07:00
inet6_connection_sock.c [IPV6] XFRM: Fix connected socket to use transformation. 2007-10-10 16:48:32 -07:00
inet6_hashtables.c
ip6_fib.c [IPv6]: use container_of() macro in fib6_clean_node() 2007-10-10 16:54:58 -07:00
ip6_flowlabel.c [NET]: Make /proc/net per network namespace 2007-10-10 16:49:06 -07:00
ip6_input.c [NET]: Dynamically allocate the loopback device, part 1. 2007-10-10 16:52:14 -07:00
ip6_output.c [IPV6]: Add ICMPMsgStats MIB (RFC 4293) [rev 2] 2007-10-10 16:51:27 -07:00
ip6_tunnel.c [NET]: Nuke SET_MODULE_OWNER macro. 2007-10-10 16:51:13 -07:00
ipcomp6.c [IPV6]: Remove unneeded pointer iph from ipcomp6_input() in net/ipv6/ipcomp6.c 2007-10-10 16:48:58 -07:00
ipv6_sockglue.c [NET]: sparse warning fixes 2007-10-10 16:54:48 -07:00
Kconfig
Makefile
mcast.c [NET]: sparse warning fixes 2007-10-10 16:54:48 -07:00
mip6.c
ndisc.c [NET]: sparse warning fixes 2007-10-10 16:54:48 -07:00
netfilter.c
proc.c [IPV6]: Add ICMPMsgStats MIB (RFC 4293) [rev 2] 2007-10-10 16:51:27 -07:00
protocol.c
raw.c [NET]: Make the device list and device lookups per namespace. 2007-10-10 16:49:10 -07:00
reassembly.c [NET]: Make the device list and device lookups per namespace. 2007-10-10 16:49:10 -07:00
route.c [NET]: Make the loopback device per network namespace. 2007-10-10 16:52:49 -07:00
sit.c [NET]: Nuke SET_MODULE_OWNER macro. 2007-10-10 16:51:13 -07:00
sysctl_net_ipv6.c
tcp_ipv6.c [IPV6]: Add v4mapped address inline 2007-10-10 16:48:32 -07:00
tunnel6.c
udp_impl.h
udp.c [IPV6]: Add v4mapped address inline 2007-10-10 16:48:32 -07:00
udplite.c
xfrm6_input.c
xfrm6_mode_beet.c
xfrm6_mode_ro.c [IPSEC]: Move RO-specific output code into xfrm6_mode_ro.c 2007-10-10 16:54:56 -07:00
xfrm6_mode_transport.c
xfrm6_mode_tunnel.c
xfrm6_output.c [IPSEC]: Move common output code to xfrm_output 2007-10-10 16:54:53 -07:00
xfrm6_policy.c [NET]: Make the loopback device per network namespace. 2007-10-10 16:52:49 -07:00
xfrm6_state.c
xfrm6_tunnel.c