From: David Miller <davem@davemloft.net>
To: shanwei@cn.fujitsu.com
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH RESEND] ipv6: return with appropriate error code when sending RH0 using setsockopt()
Date: Wed, 03 Sep 2008 02:23:03 -0700 (PDT) [thread overview]
Message-ID: <20080903.022303.84950778.davem@davemloft.net> (raw)
In-Reply-To: <48BE4DA2.20800@cn.fujitsu.com>
From: Shan Wei <shanwei@cn.fujitsu.com>
Date: Wed, 03 Sep 2008 16:41:06 +0800
> I'm sorry to resend the patch, for that no one replied it from Jun 27.
>
> The kernel had removed the RH0(Type 0 Routing Header), but we can still
> send IPv6 packet with RH0 using sendmsg() or setsockopt().
>
> Compare with sendmsg() that returns EINVAL, but setsockopt() return EPERM.
> The patch fix it.
>
> Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
I've tried to defer IPV6 patches that have semantic issues to an
expert such as Yoshifuji-san, but he has dropped off the face of the
planet for a while.
I'll take a look at this if I get a chance.
next prev parent reply other threads:[~2008-09-03 9:23 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-03 8:41 [PATCH RESEND] ipv6: return with appropriate error code when sending RH0 using setsockopt() Shan Wei
2008-09-03 9:23 ` David Miller [this message]
2008-09-03 9:41 ` Shan Wei
2008-09-03 18:36 ` Brian Haley
2008-09-04 3:44 ` Shan Wei
2008-09-12 3:14 ` David Miller
2008-09-16 7:13 ` Shan Wei
2008-09-04 5:53 ` Shan Wei
2008-09-04 13:54 ` Brian Haley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080903.022303.84950778.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=shanwei@cn.fujitsu.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.