]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit02a67430c8afc96163cb73006b2e3eb6781face2
treee83b619d72b6c229928260b1a9644c79ba08dda5
parentcc1f542be7a9ff8a85a209cd268a2b5ce15841d5
parentab6456b5cb8a75a6106b62bf1b13813d557d1de3
Merge branch 'rds-fixes'

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>