From: Sridhar Samudrala <[EMAIL PROTECTED]> Date: Thu, 02 Nov 2006 10:29:49 -0800
> On Thu, 2006-11-02 at 11:09 -0500, Vlad Yasevich wrote: > > Meelis Roos wrote: > > >> Actually, I'm backing this one out, it creates new warnings because > > >> callers of this function pass in a "const" pointer. > > > > > > Yes, it now seems it's not so simple. Marking it non-const there would > > > mark the it non-const in the whole family of sctp_state_fn_t and I'm not > > > sure that's the best thing to do. I guess the maintainer has better > > > bases for deciding what to do about it. > > > > > > > An alternate solution would be to make the digest a pointer, allocate > > it in sctp_endpoint_init() and free it in sctp_endpoint_destroy(). > > I agree that this is a better solution. > > Acked-by: Sridhar Samudrala <[EMAIL PROTECTED]> Applied to net-2.6.20, thanks everyone. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html