]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sdp: Limit total memory consumed by rcvbuf
authorAmir Vadai <amirv@mellanox.co.il>
Tue, 8 Mar 2011 08:25:35 +0000 (10:25 +0200)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 6 Oct 2015 12:05:46 +0000 (05:05 -0700)
commitf5f506862ce4d4acef462491e9fd8b970a14c597
tree6fcf8569c29e79fc9094f80479bcc2ff1a2aebce
parent74bb1807369c3fc3988c86bfaedb7c7195c1c88a
sdp: Limit total memory consumed by rcvbuf

rcvbuf is already limited by the payload in the queue. But also need to limit
total memory consumption of it, since small packets received might have a very
large overhead to the payload.

Signed-off-by: Amir Vadai <amirv@mellanox.co.il>
drivers/infiniband/ulp/sdp/sdp_rx.c