[PATCH] ipv6: routing header fixes

STALE6480d

2 messages, 2 authors, 2008-11-13 · open the first message on its own page

[PATCH] ipv6: routing header fixes

From: Brian Haley <hidden>
Date: 2008-11-11 22:12:08

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@cn.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 <redacted>

Re: [PATCH] ipv6: routing header fixes

From: David Miller <davem@davemloft.net>
Date: 2008-11-13 06:59:30

From: Brian Haley <redacted>
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@cn.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 <redacted>
Looks good, applied, thanks Brian.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help