Messages in this thread | | | Date | Wed, 28 Nov 2012 22:24:38 +0100 | From | Krzysztof Mazur <> | Subject | Re: [PATCH v2 3/3] pppoatm: protect against freeing of vcc |
| |
On Wed, Nov 28, 2012 at 08:44:41PM +0000, David Woodhouse wrote: > 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? >
yes, we can do that, at least "he" and "nicstar" use that in some cases.
Krzysiek
| |