[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Tue, 11 Nov 2008 17:11:43 -0500
From: Brian Haley <brian.haley@...com>
To: David Miller <davem@...emloft.net>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
Shan Wei <shanwei@...fujitsu.com>
Subject: [PATCH] ipv6: routing header fixes
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>
View attachment "rthdr2.patch" of type "text/x-diff" (1139 bytes)
Powered by blists - more mailing lists