diff options
| author | Ka-Cheong Poon <ka-cheong.poon@oracle.com> | 2019-09-24 08:51:16 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-01 09:01:45 +0200 |
| commit | 673d1167b40eb02da6c33c9dabec6c849b981dc0 (patch) | |
| tree | 132edc5bd45745a7ee81733002e77692f80e2638 /tools/perf/scripts/python/stackcollapse.py | |
| parent | fc5b59770306a0e6245e420951191c6322b673ac (diff) | |
net/rds: Check laddr_check before calling it
[ Upstream commit 05733434ee9ae6548723a808647248583e347cca ]
In rds_bind(), laddr_check is called without checking if it is NULL or
not. And rs_transport should be reset if rds_add_bound() fails.
Fixes: c5c1a030a7db ("net/rds: An rds_sock is added too early to the hash table")
Reported-by: syzbot+fae39afd2101a17ec624@syzkaller.appspotmail.com
Signed-off-by: Ka-Cheong Poon <ka-cheong.poon@oracle.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
