login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
August
»
18
Re: [patch nf-next] IPVS: ICMPv6 checksum calculation
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: David Miller
Subject:
Re: [patch nf-next] IPVS: ICMPv6 checksum calculation
Date: Tuesday, August 17, 2010 - 5:26 pm
From: Simon Horman <horms@verge.net.au> Date: Wed, 18 Aug 2010 09:21:49 +0900
quoted text
> [ CCing netdev for comment ] > > On Tue, Aug 17, 2010 at 12:25:56PM +0300, Julian Anastasov wrote:
...
quoted text
>> May be ip_vs_checksum_complete() is not needed here? >> Also, skb->csum is not valid for every ip_summed value. >> May be we need to apply CHECKSUM_PARTIAL kind of setup for the IPv6. >> Such example is net/ipv6/udp.c:udp6_ufo_send_check(). >> Later dev_queue_xmit() and skb_checksum_help() should take care >> for the next steps. Something like this can be tested: >> >> icmph->icmp6_cksum = csum_ipv6_magic(&iph->saddr, >> &iph->daddr, >> skb->len - icmp_offset, IPPROTO_ICMPV6, >> 0); >> skb->csum_start = skb_network_header(skb) - skb->head + >> icmp_offset; >> skb->csum_offset = offsetof(struct icmp6hdr, icmp6_cksum); >> skb->ip_summed = CHECKSUM_PARTIAL; >>
Yes, using CHECKSUM_PARTIAL unconditionally would work. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[patch nf-next] IPVS: ICMPv6 checksum calculation
, Simon Horman
, (Tue Aug 17, 12:00 am)
Re: [patch nf-next] IPVS: ICMPv6 checksum calculation
, Julian Anastasov
, (Tue Aug 17, 2:25 am)
Re: [patch nf-next] IPVS: ICMPv6 checksum calculation
, Simon Horman
, (Tue Aug 17, 5:21 pm)
Re: [patch nf-next] IPVS: ICMPv6 checksum calculation
, David Miller
, (Tue Aug 17, 5:26 pm)
Re: [patch nf-next] IPVS: ICMPv6 checksum calculation
, xiaoyu Du
, (Tue Aug 17, 9:20 pm)
Re: [patch nf-next] IPVS: ICMPv6 checksum calculation
, Simon Horman
, (Tue Aug 17, 10:57 pm)
Re: [patch nf-next] IPVS: ICMPv6 checksum calculation
, xiaoyu Du
, (Fri Aug 20, 4:14 am)
Re: [patch nf-next] IPVS: ICMPv6 checksum calculation
, Julian Anastasov
, (Fri Aug 20, 6:48 am)
Re: [patch nf-next] IPVS: ICMPv6 checksum calculation
, xiaoyu Du
, (Sun Aug 22, 7:54 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Frederic Weisbecker
[PATCH v2] struct sort_entry has a callback named snprintf that turns an entry int...
FUJITA Tomonori
Re: [Scst-devel] Integration of SCST in the mainstream Linux kernel
Jens Axboe
Re: [BUG] Linux 2.6.25-rc2 - Regression from 2.6.24-rc1-git1 softlockup while bo...
Andrew Morton
Re: [PATCH v3 0/4] Introduce hardware spinlock framework
Ingo Molnar
Re: [GIT PULL] time.c - respin
git
:
Junio C Hamano
Re: git-svnimport
Michal Sojka
[PATCHv5 1/2] filter-branch: Fix to allow replacing submodules with another content
Johannes Schindelin
Re: [PATCH] Fix approxidate("never") to always return 0
A Large Angry SCM
Re: [RFC] origin link for cherry-pick and revert
Junio C Hamano
Re: Fwd: git status options feature suggestion
linux-netdev
:
Arnaldo Carvalho de Melo
Re: [PATCH 06/37] dccp: Limit feature negotiation to connection setup phase
Gerrit Renker
[PATCH 1/5] dccp: Initialisation framework for feature negotiation
Ursula Braun
[patch 2/8] [PATCH] af_iucv: sync sk shutdown flag if iucv path is quiesced
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
git-commits-head
:
Linux Kernel Mailing List
ARM: S3C64XX: DMA: Callback with correct buffer pointer
Linux Kernel Mailing List
sata_mv: drop unncessary EH callback resetting
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
timer: Try to survive timer callback preempt_count leak
Linux Kernel Mailing List
powerpc/kexec: Add support for FSL-BookE
openbsd-misc
:
Rene Maroufi
smtpd: Aliases only work with for local alias aliases
Stephen J. Bevan
GRE over IPsec
Christophe Rioux
Implementation example of snmp
Darrin Chandler
Re: strange output on openbsd C code
Nick Holland
Re: booting openbsd on eee without cd-rom
Colocation donated by:
Syndicate