Re: [PATCH net-next 1/3] net: core: let skb_partial_csum_set() set transport header

2013-03-27 Thread David Miller
From: Eric Dumazet Date: Wed, 27 Mar 2013 07:42:56 -0700 > On Wed, 2013-03-27 at 17:11 +0800, Jason Wang wrote: >> For untrusted packets with partial checksum, we need to set the transport >> header >> for precise packet length estimation. We can just let skb_pratial_csum_set() >> to >> do this

Re: [PATCH net-next 1/3] net: core: let skb_partial_csum_set() set transport header

2013-03-27 Thread Eric Dumazet
On Wed, 2013-03-27 at 17:11 +0800, Jason Wang wrote: > For untrusted packets with partial checksum, we need to set the transport > header > for precise packet length estimation. We can just let skb_pratial_csum_set() > to > do this to avoid extra call to skb_flow_dissect() and simplify the caller

[PATCH net-next 1/3] net: core: let skb_partial_csum_set() set transport header

2013-03-27 Thread Jason Wang
For untrusted packets with partial checksum, we need to set the transport header for precise packet length estimation. We can just let skb_pratial_csum_set() to do this to avoid extra call to skb_flow_dissect() and simplify the caller. Cc: Eric Dumazet Signed-off-by: Jason Wang --- net/core/skb