Subject: Re: [PATCH iproute2 -next v2] ip: route: add congestion control metric

From: Stephen Hemminger <[email-masked]>
Date: Wed, 7 Jan 2015 15:06:57 -0800

On Wed,  7 Jan 2015 12:28:18 +0100
Daniel Borkmann <[email-masked]> wrote:

> +			if (i != RTAX_CC_ALGO)
> +				val = *(unsigned *)RTA_DATA(mxrta[i]);

Please use rta_getattr_u32 here.

Yes, I know you copied old code, but the old code predated the helper
functions.