summaryrefslogtreecommitdiffstats
path: root/net/sysctl_net.c
diff options
context:
space:
mode:
authorCong Wang <xiyou.wangcong@gmail.com>2018-09-11 15:12:17 -0700
committerDavid S. Miller <davem@davemloft.net>2018-09-12 13:15:04 -0700
commit12a78b026f870c575d3a98998b25084aac5b3c61 (patch)
tree534aa89682961cea04a61a35c9ba357afe85088b /net/sysctl_net.c
parent6b4d24de299be72d96c1f3b318905ccaaf47b904 (diff)
downloadlinux-12a78b026f870c575d3a98998b25084aac5b3c61.tar.bz2
tipc: check return value of __tipc_dump_start()
When __tipc_dump_start() fails with running out of memory, we have no reason to continue, especially we should avoid calling tipc_dump_done(). Fixes: 8f5c5fcf3533 ("tipc: call start and done ops directly in __tipc_nl_compat_dumpit()") Reported-and-tested-by: syzbot+3f8324abccfbf8c74a9f@syzkaller.appspotmail.com Cc: Jon Maloy <jon.maloy@ericsson.com> Cc: Ying Xue <ying.xue@windriver.com> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Acked-by: Ying Xue <ying.xue@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sysctl_net.c')
0 files changed, 0 insertions, 0 deletions