[PATCH] xt_tcpudp.c match unregistration bug

Patrick McHardy kaber at trash.net
Mon Jun 19 17:00:03 CEST 2006


Yuri Gushin wrote:
> Hi all,
> 
> There is a match unregistration bug in the __init function of xt_tcpudp.c;
> 
> "xt_unregister_match(AF_INET, &tcp_matchstruct)" is called twice, 
> leaving "udp_matchstruct" registered, in case of a failure in the 
> registration of the udp6 structure.
> 
> Attached is a patch to resolve this issue.

Applied. thanks.



More information about the netfilter-devel mailing list