Re: [PATCH 2/7] CAN: Add PF_CAN core module

Urs Thuermann
2007-09-25T13:26:07Z

Arnaldo Carvalho de Melo <acme@ghostprotocols.net> writes:

> > + skb_queue_purge(&sk->sk_receive_queue);
> > + if (sk->sk_protinfo)
> > + kfree(sk->sk_protinfo);
> > +}
>
> Is it really needed to do this sk_protinfo check?

Thanks for finding this. This is from 2.6.12 times or so. We have
other CAN protocol (which we are not allowed to put under GPL)
implemenatations which still use the protinfo field. But we should
change those and I will delete this check.

urs