]> git.baikalelectronics.ru Git - kernel.git/commit
RDS: fix congestion map corruption for PAGE_SIZE > 4k
authorshamir rabinovitch <shamir.rabinovitch@oracle.com>
Thu, 7 Apr 2016 11:57:36 +0000 (07:57 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Apr 2016 20:58:28 +0000 (16:58 -0400)
commit9981dcad7a05af6e05aaaa4b853df785163b79c3
treefbae7fb56f3e62fa189fc3a5cbc835c558fe4589
parent01e7593f18b9cde2f8b0c381a423e7526d60260b
RDS: fix congestion map corruption for PAGE_SIZE > 4k

When PAGE_SIZE > 4k single page can contain 2 RDS fragments. If
'rds_ib_cong_recv' ignore the RDS fragment offset in to the page it
then read the data fragment as far congestion map update and lead to
corruption of the RDS connection far congestion map.

Signed-off-by: Shamir Rabinovitch <shamir.rabinovitch@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/ib_recv.c