Add check on skb before calling kfree_skb