Re: TCP checksum offloading (complete)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 13, 2003 at 12:21:35PM +0100, francois donzet wrote:
> 
> But by having a look at the tcp_v4_recv() function,
> and more precisely inside tcp_v4_checksum_init() code,
> skb->csum is used 'as is' when skb->ip_summed is set
> to CHECKSUM_HW. There is no substraction at all.
> That's the problem :/
>

That was my conclusion too, after browsing through the kernel code. Do
we miss something, or does the "substraction" of the extra fields is a
responsibility of the driver?
 
/npat

-- 
A human being should be able to change a diaper, plan an invasion,
butcher a hog, conn a ship, design a building, write a sonnet, balance
accounts, build a wall, set a bone, comfort the dying, take orders,
give orders, cooperate, act alone, solve equations, analyze a new
problem, pitch manure, program a computer, cook a tasty meal, fight
efficiently, die gallantly. Specialization is for insects.
  -- Robert A. Heinlein Time Enough for Love
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux