diff options
author | Alexey Kuznetsov <kuznet@ms2.inr.ac.ru> | 2010-10-29 15:01:00 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2010-10-29 15:01:00 +0200 |
commit | 7193b28b672315fa79ffcbadc6f783f6a566286f (patch) | |
tree | 88af5f9b195ba6e9d43fd98f42caa2c7712733c0 /usermux/usermux-xinl.c | |
parent | 0b6286a3c5eb86e3cca72d0840fc009855e4fba5 (diff) |
ipv6 raw fixes
- RFC2292 bis compliance: enable checksumming of ICMPv6 raw
sockets by default, reject odd offsets
- calculate checksum correctly when user forgets to
uninitialize checksum word
* net/ipv6/raw_ipv6.c (rawv6_frag_cksum): Fix offset check. Compensate for any
user-provided checksum.
(rawv6_setsockopt): Reject odd checkum offsets with EINVAL.
(rawv6_init_sk): Enable kernel-computed checksum by default for
IPPROTO_ICMPV6 sockets.
Diffstat (limited to 'usermux/usermux-xinl.c')
0 files changed, 0 insertions, 0 deletions