As variant do  

if (skb) 
   kfree_skb(skb);