[PATCH 4.19 06/23] l2ip: fix possible use-after-free