virtio: Implement skb_partial_csum_set, for setting partial csums on untrusted packets.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 5 Feb 2008 04:49:54 +0000 (23:49 -0500)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 4 Feb 2008 12:49:56 +0000 (23:49 +1100)
commitf35d9d8aae08940b7fdd1bb8110619da2ece6b28
tree562d8d7a6583d0a0750ec8d996026b73e8315421
parent9135f1901ee6449dfe338adf6e40e9c2025b8150
virtio: Implement skb_partial_csum_set, for setting partial csums on untrusted packets.

Use it in virtio_net (replacing buggy version there), it's also going
to be used by TAP for partial csum support.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: David S. Miller <davem@davemloft.net>
drivers/net/virtio_net.c
include/linux/skbuff.h
net/core/skbuff.c