aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/route.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2021-11-18 12:30:19 -0800
committerDavid S. Miller <davem@davemloft.net>2021-11-19 11:22:49 +0000
commitf5455a1d9d499e4028b8ae8370758efad00b00e9 (patch)
tree6afa3f45ae56e88d7b44b48c77f9316c87719a7f /net/ipv6/route.c
parentsky2: use PCI VPD API in eeprom ethtool ops (diff)
downloadlinux-dev-f5455a1d9d499e4028b8ae8370758efad00b00e9.tar.xz
linux-dev-f5455a1d9d499e4028b8ae8370758efad00b00e9.zip
net: dccp: Use memset_startat() for TP zeroing
In preparation for FORTIFY_SOURCE performing compile-time and run-time field bounds checking for memset(), avoid intentionally writing across neighboring fields. Use memset_startat() so memset() doesn't get confused about writing beyond the destination member that is intended to be the starting point of zeroing through the end of the struct. Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/route.c')
0 files changed, 0 insertions, 0 deletions