commit | 035bfd051eae5b365368be915dfaf916aa501a52 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Jul 28 18:38:34 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Jul 28 13:43:40 2020 -0700 |
tree | b943278a8688f27ae44d0e6e18d6fcde385afaa9 | |
parent | a3ad434ad782085670d74e1a35c4c3f6043749f0 [diff] |
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>