Subject: Re: [RFC 6/9] snet: introduce snet_hooks.c and snet_hook.h

From: Stephen Hemminger <[email-masked]>
Date: Sun, 3 Jan 2010 11:16:11 -0800

On Sun, 03 Jan 2010 12:10:53 +0100
Samir Bellabes <[email-masked]> wrote:

> I know it's ugly, but code in security hooks are duplicated.
> functions (inline or not), which replace this macros, will resulte of
> having lots of parameters. macros with external object seems to be the
> most simple at this point.

Macro's with references to thing outside of the argument are just
plain wrong. They introduce bugs that humans don't see.

--