xfrm: simplify xfrm_address_t use
Jiri Benc authored
In many places, the a6 field is typecasted to struct in6_addr. As the
fields are in union anyway, just add in6_addr type to the union and
get rid of the typecasting.

Modifying the uapi header is okay, the union has still the same size.
Signed-off-by: default avatarJiri Benc <jbenc@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
15e318bd
Name Last commit Last update
..
Makefile Linux-2.6.12-rc2
af_key.c xfrm: simplify xfrm_address_t use