diff options
author | Paul Durrant <Paul.Durrant@citrix.com> | 2014-01-09 11:02:46 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-14 23:24:19 +0100 |
commit | ed1f50c3a7c1ad1b1b4d584308eab77d57a330f8 (patch) | |
tree | 81bf10db834db5e50a915548acf87c492688ec0e /crypto | |
parent | bridge: move br_net_exit() to br.c (diff) | |
download | linux-ed1f50c3a7c1ad1b1b4d584308eab77d57a330f8.tar.xz linux-ed1f50c3a7c1ad1b1b4d584308eab77d57a330f8.zip |
net: add skb_checksum_setup
This patch adds a function to set up the partial checksum offset for IP
packets (and optionally re-calculate the pseudo-header checksum) into the
core network code.
The implementation was previously private and duplicated between xen-netback
and xen-netfront, however it is not xen-specific and is potentially useful
to any network driver.
Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Cc: David Miller <davem@davemloft.net>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Veaceslav Falico <vfalico@redhat.com>
Cc: Alexander Duyck <alexander.h.duyck@intel.com>
Cc: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions