]> Pileus Git - ~andy/linux/commit
Merge branch 'skb_checksum_help'
authorDavid S. Miller <davem@davemloft.net>
Tue, 14 Jan 2014 22:24:25 +0000 (14:24 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Jan 2014 22:24:25 +0000 (14:24 -0800)
commita49da8811e71c5355b52c65ee32976741d5834cd
tree66260c1adbda75fb290ca7085337045c91706aef
parentb86f81cca9442ce6cfbe76d10fb8d2c61122ae12
parentb5cf66cd114ca24757ccf7c1f3e4d8ed86fe868c
Merge branch 'skb_checksum_help'

Paul Durrant says:

====================
make skb_checksum_setup generally available

Both xen-netfront and xen-netback need to be able to set up the partial
checksum offset of an skb and may also need to recalculate the pseudo-
header checksum in the process. This functionality is currently private
and duplicated between the two drivers.

Patch #1 of this series moves the implementation into the core network code
as there is nothing xen-specific about it and it is potentially useful to
any network driver.
Patch #2 removes the private implementation from netback.
Patch #3 removes the private implementation from netfront.

v2:
- Put skb_checksum_setup in skbuff.c rather than dev.c
- remove inline
====================

Signed-off-by: David S. Miller <davem@davemloft.net>