mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-04 01:24:12 +08:00
[NET]: Fix comment for skb_pull_rcsum
Fix comment for skb_pull_rcsum Signed-off-by: Urs Thuermann <urs@isnogud.escape.de> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
28a89453b1
commit
fee54fa517
@ -2106,11 +2106,10 @@ int skb_append_datato_frags(struct sock *sk, struct sk_buff *skb,
|
||||
/**
|
||||
* skb_pull_rcsum - pull skb and update receive checksum
|
||||
* @skb: buffer to update
|
||||
* @start: start of data before pull
|
||||
* @len: length of data pulled
|
||||
*
|
||||
* This function performs an skb_pull on the packet and updates
|
||||
* update the CHECKSUM_COMPLETE checksum. It should be used on
|
||||
* the CHECKSUM_COMPLETE checksum. It should be used on
|
||||
* receive path processing instead of skb_pull unless you know
|
||||
* that the checksum difference is zero (e.g., a valid IP header)
|
||||
* or you are setting ip_summed to CHECKSUM_NONE.
|
||||
|
Loading…
Reference in New Issue
Block a user