diff options
author | Paolo Abeni <pabeni@redhat.com> | 2018-09-13 16:27:20 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-17 00:27:44 +0200 |
commit | 2b5a921740a55c00223a797d075b9c77c42cb171 (patch) | |
tree | 384b3c86784345a2f25cce36d43ff4a3ea9e729b /certs | |
parent | stmmac: fix valid numbers of unicast filter entries (diff) | |
download | linux-2b5a921740a55c00223a797d075b9c77c42cb171.tar.xz linux-2b5a921740a55c00223a797d075b9c77c42cb171.zip |
udp4: fix IP_CMSG_CHECKSUM for connected sockets
commit 2abb7cdc0dc8 ("udp: Add support for doing checksum
unnecessary conversion") left out the early demux path for
connected sockets. As a result IP_CMSG_CHECKSUM gives wrong
values for such socket when GRO is not enabled/available.
This change addresses the issue by moving the csum conversion to a
common helper and using such helper in both the default and the
early demux rx path.
Fixes: 2abb7cdc0dc8 ("udp: Add support for doing checksum unnecessary conversion")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions