login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
August
»
1
Re: [PATCH] act_nat: the checksum of ICMP doesn't have pseudo header
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: David Miller
Subject:
Re: [PATCH] act_nat: the checksum of ICMP doesn't have pseudo header
Date: Saturday, July 31, 2010 - 10:05 pm
From: Herbert Xu <herbert@gondor.apana.org.au> Date: Fri, 30 Jul 2010 22:30:16 +0800
quoted text
> On Fri, Jul 30, 2010 at 10:16:05PM +0800, Changli Gao wrote: >> >> I know we need to update the ICMP checksum if we alter the payload(the >> inner IP header here) of ICMP. But I doubt if the update is really >> necessary if the checksum is partial, as the checksum will be done >> later(by ether skb_checksum_help() or NIC hardware). In fact, as there >> isn't any pseudo header, the icmph->checksum should be always ZERO, >> otherwise skb_checksum_help() or NIC will give the wrong checksums, >> when the checksum is partial. > > Actually you are right. I suppose the only reason this has never > shown up is because CHEKSUM_PARTIAL doesn't usually occur with > forwarded packets. > > Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Also applied, thanks. --
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] act_nat: the checksum of ICMP doesn't have pseudo ...
, Changli Gao
, (Thu Jul 29, 5:04 pm)
Re: [PATCH] act_nat: the checksum of ICMP doesn't have pse ...
, Herbert Xu
, (Fri Jul 30, 2:09 am)
Re: [PATCH] act_nat: the checksum of ICMP doesn't have pse ...
, Changli Gao
, (Fri Jul 30, 3:10 am)
Re: [PATCH] act_nat: the checksum of ICMP doesn't have pse ...
, Herbert Xu
, (Fri Jul 30, 3:24 am)
Re: [PATCH] act_nat: the checksum of ICMP doesn't have pse ...
, Changli Gao
, (Fri Jul 30, 7:16 am)
Re: [PATCH] act_nat: the checksum of ICMP doesn't have pse ...
, Herbert Xu
, (Fri Jul 30, 7:30 am)
Re: [PATCH] act_nat: the checksum of ICMP doesn't have pse ...
, David Miller
, (Sat Jul 31, 10:05 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Paul Turner
[tg_shares_up rewrite v4 11/11] sched: update tg->shares after cpu.shares write
Mr. James W. Laferriere
Re: Linux 2.6.25-rc1 , syntax error near unexpected token `;'
Robin Lee Powell
NFS hang + umount -f: better behaviour requested.
Linus Torvalds
Linux 2.6.34-rc4
Nick Piggin
Re: dealing with barriers (was Re: [PATCH] firewire: fw-core: enforce write order ...
git
:
Fredrik Kuivinen
Re: fatal: unable to create '.git/index': File exists
Wink Saville
How-to combine several separate git repos?
Emily Ren
How to pull remote branch with specified commit id?
Denis Bueno
Git clone error
pradeep singh
git-update-server-info may be required,cannot clone and pull from a remote reposit...
openbsd-misc
:
Sevan / Venture37
Re: This is what Linus Torvalds calls openBSD crowd
Siju George
This is what Linus Torvalds calls openBSD crowd
Darrin Chandler
Re: OT: Python (was Re: vi in /bin)
Netmaffia.hu
Tini Lányok AKCIÓBAN OTTHON
frantisek holop
Re: splassert: vwakeup: and friends
linux-netdev
:
Jamie Lokier
Re: POHMELFS high performance network filesystem. Transactions, failover, performa...
Timo Teräs
ip xfrm policy semantics
Ron Mercer
[net-next PATCH 2/2] qlge: Version change to v1.00.00.27
Maciej W. Rozycki
Re: [PATCH] flush_work_sync vs. flush_scheduled_work Re: [PATCH] PHYLIB: IRQ event...
Jarek Poplawski
Re: socket api problem: can't bind an ipv6 socket to ::ffff:0.0.0.0
git-commits-head
:
Linux Kernel Mailing List
powerpc/fsl_msi: enable msi allocation in all banks
Linux Kernel Mailing List
ASoC: fix registration of the SoC card in the Freescale MPC8610 drivers
Linux Kernel Mailing List
drivers/acpi: use kasprintf
Linux Kernel Mailing List
[ARM] mmp: add dma support to mmp2
Linux Kernel Mailing List
bnx2x: Moving includes
Colocation donated by:
Syndicate