summaryrefslogtreecommitdiffstats
path: root/net/x25/af_x25.c
diff options
context:
space:
mode:
authorGerrit Renker <gerrit@erg.abdn.ac.uk>2011-10-17 19:07:30 -0400
committerDavid S. Miller <davem@davemloft.net>2011-10-17 19:07:30 -0400
commitf36c23bb9f822904dacf83a329518d0a5fde7968 (patch)
treefc7808103cdf00bb8a42247fccf638014798dd35 /net/x25/af_x25.c
parent4c41042d1d4c29e596b31e2d14b26d2940fb24b4 (diff)
downloadblackbird-op-linux-f36c23bb9f822904dacf83a329518d0a5fde7968.tar.gz
blackbird-op-linux-f36c23bb9f822904dacf83a329518d0a5fde7968.zip
udplite: fast-path computation of checksum coverage
Commit 903ab86d195cca295379699299c5fc10beba31c7 of 1 March this year ("udp: Add lockless transmit path") introduced a new fast TX path that broke the checksum coverage computation of UDP-lite, which so far depended on up->len (only set if the socket is locked and 0 in the fast path). Fixed by providing both fast- and slow-path computation of checksum coverage. The latter can be removed when UDP(-lite)v6 also uses a lockless transmit path. Reported-by: Thomas Volkert <thomas@homer-conferencing.com> Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/x25/af_x25.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud