Why force to calculate TCP checksum in nf_hook_slow()?

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

 



Hi There,

In "nf_hook_slow()" (netfilter.c), if skb->ip_summed
== CHECKSUM_HW and ouput interface is not NULL, TCP
checksum is calculated by calling
"skb_checksum_help()". Why is this needed? 

"nf_hook_slow" is called everytime a packet is sent
out, if "Network packet filtering debugging" is chosen
when compiling the kernel. Does this mean that there
is no TCP checksum offload feature in this
circumstance?

Bluesea

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
-
: 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