aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/net/netdevsim/dev.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavoars@kernel.org>2021-08-04 16:18:50 -0500
committerDavid S. Miller <davem@davemloft.net>2021-08-05 11:46:42 +0100
commite6a1f7e0b0fe5997b896b793c70d12fc5ed06cdd (patch)
treeb58331b1accec36c626b5a27d17a796a7021ac3c /drivers/net/netdevsim/dev.c
parentnet/ipv4/ipv6: Replace one-element arraya with flexible-array members (diff)
downloadwireguard-linux-e6a1f7e0b0fe5997b896b793c70d12fc5ed06cdd.tar.xz
wireguard-linux-e6a1f7e0b0fe5997b896b793c70d12fc5ed06cdd.zip
net/ipv4/igmp: Use struct_size() helper
Replace IP_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