aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2017-09-22 20:45:18 +0000
committerMiklos Szeredi <[email protected]>2017-10-19 14:19:52 +0000
commit0ce5cdc9d79277e55c3d80bf7d2b1adea2752078 (patch)
tree63a093a0e017fd8064ee8a98de5f383593dcf42a /net/switchdev/switchdev.c
parentovl: add NULL check in ovl_alloc_inode (diff)
downloadkernel-0ce5cdc9d79277e55c3d80bf7d2b1adea2752078.tar.gz
kernel-0ce5cdc9d79277e55c3d80bf7d2b1adea2752078.zip
ovl: Return -ENOMEM if an allocation fails ovl_lookup()
The error code is missing here so it means we return ERR_PTR(0) or NULL. The other error paths all return an error code so this probably should as well. Fixes: 02b69b284cd7 ("ovl: lookup redirects") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Chandan Rajendra <[email protected]> Signed-off-by: Miklos Szeredi <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions