Re: [PATCH] fix mem-leak in netfilter

From: Patrick McHardy
Date: Wed May 17 2006 - 03:18:50 EST


David S. Miller wrote:
> From: Patrick McHardy <kaber@xxxxxxxxx>
> Date: Wed, 17 May 2006 08:26:03 +0200
>
>
>>+ if (info->check_set & (IPT_RECENT_SET | IPT_RECENT_REMOVE) &&
>>+ (info->seconds || info->hit_count))
>>+ return 0;
>
>
> I'm feeling particularly dense today... but what is the relative
> precedence of '&' vs '&&'?
>
> I've been told that if you have to look up C operator precedence,
> don't bother and add parenthesis instead :)


Bitwise AND has precedence, but I have no problems adding an extra
set of parenthesis around it :)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/