Searched hist:e6a1f7e0b0fe5997b896b793c70d12fc5ed06cdd (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | igmp.h | diff e6a1f7e0b0fe5997b896b793c70d12fc5ed06cdd Wed Aug 04 16:18:50 CDT 2021 Gustavo A. R. Silva <gustavoars@kernel.org> 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>
|
/openbmc/linux/net/ipv4/ |
H A D | igmp.c | diff e6a1f7e0b0fe5997b896b793c70d12fc5ed06cdd Wed Aug 04 16:18:50 CDT 2021 Gustavo A. R. Silva <gustavoars@kernel.org> 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>
|