diff options
| author | Willem de Bruijn <willemb@google.com> | 2022-11-28 11:18:12 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-12-08 11:28:41 +0100 |
| commit | fcb3e02161567516dc424097b2d2fb4d570d2f43 (patch) | |
| tree | bba1933a237c8c9cbed95c9e09ee8af82974fc03 /include | |
| parent | 04b995e963229501401810dab89dc73e7f12d054 (diff) | |
| download | linux-fcb3e02161567516dc424097b2d2fb4d570d2f43.tar.gz linux-fcb3e02161567516dc424097b2d2fb4d570d2f43.tar.bz2 linux-fcb3e02161567516dc424097b2d2fb4d570d2f43.zip | |
packet: do not set TP_STATUS_CSUM_VALID on CHECKSUM_COMPLETE
[ Upstream commit b85f628aa158a653c006e9c1405a117baef8c868 ]
CHECKSUM_COMPLETE signals that skb->csum stores the sum over the
entire packet. It does not imply that an embedded l4 checksum
field has been validated.
Fixes: 682f048bd494 ("af_packet: pass checksum validation status to the user")
Signed-off-by: Willem de Bruijn <willemb@google.com>
Link: https://lore.kernel.org/r/20221128161812.640098-1-willemdebruijn.kernel@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
