aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/tcp_ipv6.c
diff options
context:
space:
mode:
authorSimon Horman <[email protected]>2017-03-08 16:57:08 +0000
committerDavid S. Miller <[email protected]>2017-03-10 00:39:58 +0000
commit5692dbb56e6012c0755614ee64fe4c221f357e7a (patch)
tree15c1fd7c703b0994ccff2ac1c04118f47bd33e66 /net/ipv6/tcp_ipv6.c
parentnfp: add metadata format bit (diff)
downloadkernel-5692dbb56e6012c0755614ee64fe4c221f357e7a.tar.gz
kernel-5692dbb56e6012c0755614ee64fe4c221f357e7a.zip
nfp: prevent theoretical buffer overrun in nfp_eth_read_ports
Prevent theoretical buffer overrun by returning an error if the number of entries returned by the firmware does not match those present. Also use a common handling error path. Found by inspection. Signed-off-by: Simon Horman <[email protected]> Tested-by: Jakub Kicinski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions