]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
Merge branch 'rds-fixes'
authorDavid S. Miller <davem@davemloft.net>
Wed, 19 Dec 2018 18:27:58 +0000 (10:27 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Dec 2018 18:27:58 +0000 (10:27 -0800)
Shamir Rabinovitch says:

====================
WARNING in rds_message_alloc_sgs

This patch set fix google syzbot rds bug found in linux-next.
The first patch solve the syzbot issue.
The second patch fix issue mentioned by Leon Romanovsky that
drivers should not call WARN_ON as result from user input.

syzbot bug report can be foud here: https://lkml.org/lkml/2018/10/31/28

v1->v2:
- patch 1: make rds_iov_vector fields name more descriptive (Hakon)
- patch 1: fix potential mem leak in rds_rm_size if krealloc fail
  (Hakon)
v2->v3:
- patch 2: harden rds_sendmsg for invalid number of sgs (Gerd)
v3->v4
- Santosh a.b. on both patches + repost to net-dev
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge