]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ipv4: mentions skb_gro_postpull_rcsum() in inet_gro_receive()
authorEric Dumazet <edumazet@google.com>
Wed, 1 Oct 2014 05:12:05 +0000 (22:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Oct 2014 17:44:05 +0000 (13:44 -0400)
commit2c804d0f8fc7799981d9fdd8c88653541b28c1a7
tree595446444860fdf7c4e1fe200b218280b10f117c
parenteb51bbaf8dedf142a54a7ff58514a29b40d515bb
ipv4: mentions skb_gro_postpull_rcsum() in inet_gro_receive()

Proper CHECKSUM_COMPLETE support needs to adjust skb->csum
when we remove one header. Its done using skb_gro_postpull_rcsum()

In the case of IPv4, we know that the adjustment is not really needed,
because the checksum over IPv4 header is 0. Lets add a comment to
ease code comprehension and avoid copy/paste errors.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/af_inet.c