diff options
| author | J. Bruce Fields <[email protected]> | 2016-03-18 15:31:17 +0000 |
|---|---|---|
| committer | J. Bruce Fields <[email protected]> | 2016-03-22 18:39:35 +0000 |
| commit | 4b15da44e742871206582f6aa2997b009648f02f (patch) | |
| tree | e69e230a2db6740a6bc44fd479df3f692429a0c0 /net/switchdev/switchdev.c | |
| parent | nfsd: block and scsi layout drivers need to depend on CONFIG_BLOCK (diff) | |
| download | kernel-4b15da44e742871206582f6aa2997b009648f02f.tar.gz kernel-4b15da44e742871206582f6aa2997b009648f02f.zip | |
nfsd: better layoutupdate bounds-checking
You could add any multiple of 2^32/PNFS_SCSI_RANGE_SIZE to nr_iomaps and
still pass this check. You'd probably still fail the following kcalloc,
but best to be paranoid since this is from-the-wire data.
Signed-off-by: J. Bruce Fields <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
