]> git.baikalelectronics.ru Git - kernel.git/commit
nfp: validate rtsym accesses fall within the symbol
authorJakub Kicinski <jakub.kicinski@netronome.com>
Tue, 4 Sep 2018 14:37:33 +0000 (07:37 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Sep 2018 05:17:07 +0000 (22:17 -0700)
commitfe986bf91ed50d0a04e07cde7e9e168d6d81fe57
tree2ddb815e9b5b5b4dcc7ec0d94fd2f3e96e258837
parentfbd1a4f1cfc7755c9b960600bef7c596192947d3
nfp: validate rtsym accesses fall within the symbol

With the accesses to rtsyms now all going via special helpers
we can easily make sure the driver is not reading past the
end of the symbol.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Francois H. Theron <francois.theron@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c