[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20081112.225930.130733700.davem@davemloft.net>
Date: Wed, 12 Nov 2008 22:59:30 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: brian.haley@...com
Cc: netdev@...r.kernel.org, shanwei@...fujitsu.com
Subject: Re: [PATCH] ipv6: routing header fixes
From: Brian Haley <brian.haley@...com>
Date: Tue, 11 Nov 2008 17:11:43 -0500
> This patch fixes two bugs:
>
> 1. setsockopt() of anything but a Type 2 routing header should return EINVAL instead of EPERM. Noticed by Shan Wei (shanwei@...fujitsu.com).
>
> 2. setsockopt()/sendmsg() of a Type 2 routing header with invalid length or segments should return EINVAL. These values are statically fixed in RFC 3775, unlike the variable Type 0 was.
>
> Signed-off-by: Brian Haley <brian.haley@...com>
Looks good, applied, thanks Brian.
--
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