Skip to content
Commit 3427e854 authored by Andy Grover's avatar Andy Grover
Browse files

RDS: Assume recv->r_frag is always NULL in refill_one()



refill_one() should never be called on a recv struct that
doesn't need a new r_frag allocated. Add a WARN and remove
conditional around r_frag alloc code.

Also, add a comment to explain why r_ibinc may or may not
need refilling.

Signed-off-by: default avatarAndy Grover <andy.grover@oracle.com>
parent 0b088e00
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment