From: "YOSHIFUJI Hideaki / 吉藤英明" <yoshfuji@linux-ipv6.org>
To: kuznet@ms2.inr.ac.ru
Cc: yoshfuji@linux-ipv6.org, netdev@oss.sgi.com, usagi@linux-ipv6.org
Subject: Re: RFC2292(bis) checksum support
Date: Mon, 20 May 2002 12:04:06 +0900 [thread overview]
Message-ID: <20020520120406A.yoshfuji@linux-ipv6.org> (raw)
In-Reply-To: <200205192146.BAA00826@sex.inr.ac.ru>
In article <200205192146.BAA00826@sex.inr.ac.ru> (at Mon, 20 May 2002 01:46:48 +0400 (MSD)), kuznet@ms2.inr.ac.ru says:
> This is supposed to be fixed in recent 2.4.19 and 2.5.
thanks!!!
> > (1) RFC2292bis denies usage of this interface for ICMPv6 socket,
>
> OK. Yes, we can set default value for such sockets to 2, but I do not see
> any good reasons to limit functionality of the API just to follow evident
> mistake in the rfc. So, I would apply the last three chunks of the patch
> except for these lines:
>
> + if (sk->num == IPPROTO_ICMPV6 && val != 2)
> + return(-EINVAL);
Would you tell us what the "evident mistake in the rfc" is, please?
Checksum for ICMPv6 is mandatory like ones for TCP and UDP (for IPv6) are.
We should not (be able to) disable checksum for TCP, UDP AND ICMPv6,
should we?
> One question only: what did you mean in the following chunk?
> Apparently, you forgot to delete marked line.
>
> csum = (__u16 *) (buff + opt->offset);
> *csum = hdr->cksum;
> ^^^^^^^^^^^^^^^^^^^
:
> Do I guess correctly that you wanted to compensate for occasionally
> ununitialized checksum bits in data supplied by user?
yes. I just forgot to delete that original line while making this patch;
sorry.
--yoshfuji
next prev parent reply other threads:[~2002-05-20 3:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-16 16:57 RFC2292(bis) checksum support YOSHIFUJI Hideaki / 吉藤英明
2002-05-19 21:46 ` kuznet
2002-05-20 3:04 ` YOSHIFUJI Hideaki / 吉藤英明 [this message]
2002-05-20 3:51 ` kuznet
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=20020520120406A.yoshfuji@linux-ipv6.org \
--to=yoshfuji@linux-ipv6.org \
--cc=kuznet@ms2.inr.ac.ru \
--cc=netdev@oss.sgi.com \
--cc=usagi@linux-ipv6.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).