summaryrefslogtreecommitdiff
path: root/include/net/aligned_data.h
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2025-09-08 15:52:02 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-10-12 12:57:16 +0200
commit27a0a815dbba2cdcbf2a9d267666c43c2b0a1dbf (patch)
tree9d103787e1132af6bc354c46a6b846cfe56f1330 /include/net/aligned_data.h
parent6a3a7b13ad74c255fc619ce254c366671150cfb3 (diff)
dm-integrity: limit MAX_TAG_SIZE to 255
[ Upstream commit 77b8e6fbf9848d651f5cb7508f18ad0971f3ffdb ] MAX_TAG_SIZE was 0x1a8 and it may be truncated in the "bi->metadata_size = ic->tag_size" assignment. We need to limit it to 255. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions