l2tp: fix return value check