diff options
author | Christoph Hellwig <hch@lst.de> | 2020-07-28 18:38:34 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-28 22:43:40 +0200 |
commit | 035bfd051eae5b365368be915dfaf916aa501a52 (patch) | |
tree | b943278a8688f27ae44d0e6e18d6fcde385afaa9 /net/ipv4 | |
parent | netfilter: arp_tables: restore a SPDX identifier (diff) | |
download | linux-035bfd051eae5b365368be915dfaf916aa501a52.tar.xz linux-035bfd051eae5b365368be915dfaf916aa501a52.zip |
net: make sockptr_is_null strict aliasing safe
While the kernel in general is not strict aliasing safe we can trivially
do that in sockptr_is_null without affecting code generation, so always
check the actually assigned union member.
Reported-by: Jan Engelhardt <jengelh@inai.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions