diff options
| author | 2021-08-04 16:43:52 -0500 | |
|---|---|---|
| committer | 2021-08-05 11:46:42 +0100 | |
| commit | e11c0e258c1a87e478a7a44e7c3d9e8ea4b8438c (patch) | |
| tree | 711ee3c08fa6db66a966da272f1dfa469e12170d /drivers/net/netdevsim/dev.c | |
| parent | net/ipv4/igmp: Use struct_size() helper (diff) | |
| download | wireguard-linux-e11c0e258c1a87e478a7a44e7c3d9e8ea4b8438c.tar.xz wireguard-linux-e11c0e258c1a87e478a7a44e7c3d9e8ea4b8438c.zip | |
net/ipv6/mcast: Use struct_size() helper
Replace IP6_SFLSIZE() with struct_size() helper in order to avoid any
potential type mistakes or integer overflows that, in the worst
scenario, could lead to heap overflows.
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netdevsim/dev.c')
0 files changed, 0 insertions, 0 deletions
