diff options
| author | John Hubbard <[email protected]> | 2020-05-20 19:41:47 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-05-20 21:08:06 +0000 |
| commit | f78cdbd75a57245ecc68f5a40e470933426a082b (patch) | |
| tree | 1eba25d38b8ce84cdd1d5d2ee6c0d6fa3a4ac070 /drivers/net/ethernet/intel/igc/igc_main.c | |
| parent | net: unexport skb_gro_receive() (diff) | |
| download | kernel-f78cdbd75a57245ecc68f5a40e470933426a082b.tar.gz kernel-f78cdbd75a57245ecc68f5a40e470933426a082b.zip | |
rds: fix crash in rds_info_getsockopt()
The conversion to pin_user_pages() had a bug: it overlooked
the case of allocation of pages failing. Fix that by restoring
an equivalent check.
Reported-by: [email protected]
Fixes: dbfe7d74376e ("rds: convert get_user_pages() --> pin_user_pages()")
Cc: David S. Miller <[email protected]>
Cc: Jakub Kicinski <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Signed-off-by: John Hubbard <[email protected]>
Acked-by: Santosh Shilimkar <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions
