Re: [PATCH v2 3/3] pppoatm: protect against freeing of vcc

From: David Woodhouse
Date: Wed Nov 28 2012 - 15:44:44 EST


On Wed, 2012-11-28 at 21:18 +0100, Krzysztof Mazur wrote:
>
> +void vcc_pop_any(struct atm_vcc *vcc, struct sk_buff *skb)
> +{
> + if (vcc->pop)
> + vcc->pop(vcc, skb);

if (vcc && vcc->pop) perhaps?

--
dwmw2

Attachment: smime.p7s
Description: S/MIME cryptographic signature