Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information