[PATCH 2/2] Cleanup returnvalues of protocolhandlers
kaber at trash.net
Sun Sep 19 22:41:20 CEST 2004
Martin Josefsson wrote:
>Here's the second of two patches based on Pablo Neiras patch.
>This adds new defines to be returned from conntrack protocol modules in
>order to make it clear what they want. Most importantly, they get rid of
>the confusing mixing of positive and negative returnvalues.
A couple of conversion where missing in ip_conntrack_proto_icmp.c,
I've added them to the patch. BTW: shouldn't we return CONNTRACK_INVALID
for all invalid icmp packets ? icmp_error returns CONNTRACK_INVALID for
these packets, icmp_error_message (after simple 1:1 conversion) returns
More information about the netfilter-devel