]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDS: don't commit to queue till transport connection is up
authorSantosh Shilimkar <santosh.shilimkar@oracle.com>
Thu, 15 Dec 2016 21:21:09 +0000 (13:21 -0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 20 Jan 2017 09:06:25 +0000 (01:06 -0800)
commit238a807df5e57afb4b1e13ba87015093e3212247
tree11cbbed2ce6e9535d4ba52b451c219bb1cd17b66
parent7692cb81d72fc94380e9984e002edfee3d3aeea0
RDS: don't commit to queue till transport connection is up

A rouge application can flood the send queue by targeting a dead
or non-existing node. Don't commit any messages to the queue
till the legitimate connection to the peer is established.
Let application retry so that only legit connections can
get on to the send queue.

Orabug: 25393611
Reviewed-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
net/rds/send.c