]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rds: Un-connected socket sendmsg() with a NULL destination does not fail
authorKa-Cheong Poon <ka-cheong.poon@oracle.com>
Mon, 18 Dec 2017 15:09:55 +0000 (07:09 -0800)
committerJack Vogel <jack.vogel@oracle.com>
Thu, 1 Feb 2018 23:04:03 +0000 (15:04 -0800)
commit032e4d4b1663621aceed4859b7242808a27ff220
tree5ec6203b5e3dd19da43c35292d5f152677f65521
parent00201d3c0f34c4763a6d455f3632e99a905e7c52
rds: Un-connected socket sendmsg() with a NULL destination does not fail

If the destnation address used in sendto()/sendmsg() is NULL, the
send call does not fail because the check done in rds_sendmsg() is
not correct.

Orabug: 27463507

Signed-off-by: Ka-Cheong Poon <ka-cheong.poon@oracle.com>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
net/rds/send.c