From: Edward Cree <ec...@solarflare.com> Date: Wed, 4 Jul 2018 19:23:50 +0100
> Since callees (ip_rcv_core() and ip_rcv_finish_core()) might free or steal > the skb, we can't use the list_cut_before() method; we can't even do a > list_del(&skb->list) in the drop case, because skb might have already been > freed and reused. > So instead, take each skb off the source list before processing, and add it > to the sublist afterwards if it wasn't freed or stolen. > > Fixes: 5fa12739a53d net: ipv4: listify ip_rcv_finish > Fixes: 17266ee93984 net: ipv4: listified version of ip_rcv > Signed-off-by: Edward Cree <ec...@solarflare.com> Applied, thanks Edward.