diff options
author | Scott Mayhew <smayhew@redhat.com> | 2020-04-02 23:20:44 +0200 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2020-04-03 00:37:13 +0200 |
commit | 529af90576cfa44aa107e9876e2ebaa053983986 (patch) | |
tree | eeb5341e351a85d9664e3bb3ffedd0e58bc0e612 /mm/gup.c | |
parent | NFS: Try to join page groups before an O_DIRECT retransmission (diff) | |
download | linux-529af90576cfa44aa107e9876e2ebaa053983986.tar.xz linux-529af90576cfa44aa107e9876e2ebaa053983986.zip |
NFS: Fix a few constant_table array definitions
nfs_vers_tokens, nfs_xprt_protocol_tokens, and nfs_secflavor_tokens were
all missing an empty item at the end of the array, allowing
lookup_constant() to potentially walk off the end and trigger and oops.
Reported-by: Olga Kornievskaia <aglo@umich.edu>
Signed-off-by: Scott Mayhew <smayhew@redhat.com>
Fixes: e38bb238ed8c ("NFS: Convert mount option parsing to use functionality from fs_parser.h")
Cc: stable@vger.kernel.org # v5.6
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'mm/gup.c')
0 files changed, 0 insertions, 0 deletions