[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131206114427.GH31491@secunet.com>
Date: Fri, 6 Dec 2013 12:44:27 +0100
From: Steffen Klassert <steffen.klassert@...unet.com>
To: Fan Du <fan.du@...driver.com>
Cc: davem@...emloft.net, netdev@...r.kernel.org
Subject: Re: [PATCH net-next 1/3] xfrm: check user specified spi for IPComp
On Thu, Nov 28, 2013 at 10:52:39AM +0800, Fan Du wrote:
>
> diff --git a/net/xfrm/xfrm_user.c b/net/xfrm/xfrm_user.c
> index f964d4c..52efe71 100644
> --- a/net/xfrm/xfrm_user.c
> +++ b/net/xfrm/xfrm_user.c
> @@ -209,7 +209,8 @@ static int verify_newsa_info(struct xfrm_usersa_info *p,
> attrs[XFRMA_ALG_AUTH] ||
> attrs[XFRMA_ALG_AUTH_TRUNC] ||
> attrs[XFRMA_ALG_CRYPT] ||
> - attrs[XFRMA_TFCPAD])
> + attrs[XFRMA_TFCPAD] ||
> + (ntohl(p->id.spi) >= 0x10000))
Please align the above line to the rest of this block.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists