diff options
| author | Daniel Borkmann <[email protected]> | 2013-11-04 17:10:25 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2013-11-04 15:27:08 -0500 |
| commit | cea80ea8d2a4c646f240a8fd6ece5c8e7bc969d3 (patch) | |
| tree | 77a3386d2c211756a37acd65a0a9aee0e460e6cf /tools/perf/scripts/python | |
| parent | 394efd19d5fcae936261bd48e5b33b21897aacf8 (diff) | |
net: checksum: fix warning in skb_checksum
This patch fixes a build warning in skb_checksum() by wrapping the
csum_partial() usage in skb_checksum(). The problem is that on a few
architectures, csum_partial is used with prefix asmlinkage whereas
on most architectures it's not. So fix this up generically as we did
with csum_block_add_ext() to match the signature. Introduced by
2817a336d4d ("net: skb_checksum: allow custom update/combine for
walking skb").
Reported-by: Fengguang Wu <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions