]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rds: System panic if RDS netfilter is enabled and RDS/TCP is used
authorKa-Cheong Poon <ka-cheong.poon@oracle.com>
Tue, 31 Oct 2017 15:32:13 +0000 (08:32 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Mon, 11 Dec 2017 04:34:26 +0000 (20:34 -0800)
commit5601906368592bd963b3af8d56381aa7e06735ed
treee9d6a38e387f0cdd7c3884fd0e6f5166dea3ef0b
parent5b37c88ad4d4c6585633a90d0955128afb3849a5
rds: System panic if RDS netfilter is enabled and RDS/TCP is used

If a transport does not support netfilter, its inc_to_skb is NULL.
The code needs to make sure that it is not NULL before calling it.

Orabug: 26950401

Signed-off-by: Ka-Cheong Poon <ka-cheong.poon@oracle.com>
Reviewed-by: HÃ¥kon Bugge <haakon.bugge@oracle.com>
net/rds/recv.c