[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100816230217.GA24125@n7mm.org>
Date: Tue, 17 Aug 2010 01:02:17 +0200
From: Grégoire Baron <baronchon@...m.org>
To: jamal <hadi@...erus.ca>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] net/sched: add ACT_CSUM action to update packets
checksums
> Excellent work! Ive always wanted to do this albeit slightly
> differently.
Thanks!
> I think it would be nice to factor a lot of the code repeated
> everywhere into some boilerplate function that gets invoked by all;
> users.
You're rigth. I will correct that, maybe using a macro which is
specialised to get the protocol structure ...
However, this macro could call a 'goto' instruction. Is it really a good
idea? Tell me. Are you sure a function is appropriate?
Regards,
Grégoire
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists