From: Benjamin Thery <[EMAIL PROTECTED]> Date: Mon, 08 Oct 2007 18:33:16 +0200
> 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. > > Patch for net-2.6.24 > > Signed-off-by: Benjamin Thery <[EMAIL PROTECTED]> Applied, thanks Benjamin. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html