summaryrefslogtreecommitdiff
path: root/mm/workingset.c
diff options
context:
space:
mode:
authorLi Zhong <floridsleeves@gmail.com>2022-09-21 21:17:16 +0300
committerJakub Kicinski <kuba@kernel.org>2022-09-23 05:28:10 +0300
commit05cd823863fd32e9fcd5e8818a0a9070e54cfcc1 (patch)
tree4a94325226d760e9fd9aea976676f47e74850979 /mm/workingset.c
parent97cfede0d1475945458fb0a91f9fbf1366dd0827 (diff)
downloadlinux-05cd823863fd32e9fcd5e8818a0a9070e54cfcc1.tar.xz
ethtool: tunnels: check the return value of nla_nest_start()
Check the return value of nla_nest_start(). When starting the entry level nested attributes, if the tailroom of socket buffer is insufficient to store the attribute header and payload, the return value will be NULL. There is, however, no real bug here since if the skb is full nla_put_be16() will fail as well and we'll error out. Signed-off-by: Li Zhong <floridsleeves@gmail.com> Link: https://lore.kernel.org/r/20220921181716.1629541-1-floridsleeves@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'mm/workingset.c')
0 files changed, 0 insertions, 0 deletions