SOURCES (LINUX_2_6): kernel-pom-ng-u32.patch - remove matchsize pa...

mguevara mguevara at pld-linux.org
Fri Aug 10 04:30:14 CEST 2007


Author: mguevara                     Date: Fri Aug 10 02:30:14 2007 GMT
Module: SOURCES                       Tag: LINUX_2_6
---- Log message:
- remove matchsize param from checkentry

---- Files affected:
SOURCES:
   kernel-pom-ng-u32.patch (1.1.2.2 -> 1.1.2.3) 

---- Diffs:

================================================================
Index: SOURCES/kernel-pom-ng-u32.patch
diff -u SOURCES/kernel-pom-ng-u32.patch:1.1.2.2 SOURCES/kernel-pom-ng-u32.patch:1.1.2.3
--- SOURCES/kernel-pom-ng-u32.patch:1.1.2.2	Tue Aug  7 18:51:08 2007
+++ SOURCES/kernel-pom-ng-u32.patch	Fri Aug 10 04:30:09 2007
@@ -254,10 +254,10 @@
 +           const void *ip,
 +           const struct xt_match *match,
 +           void *matchinfo,
-+           unsigned int matchsize,
++           /* unsigned int matchsize, */
 +           unsigned int hook_mask)
 +{
-+	if (matchsize != IPT_ALIGN(sizeof(struct ipt_u32)))
++	if (sizeof(struct ipt_u32) != IPT_ALIGN(sizeof(struct ipt_u32)))
 +		return 0;
 +	return 1;
 +}
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/kernel-pom-ng-u32.patch?r1=1.1.2.2&r2=1.1.2.3&f=u



More information about the pld-cvs-commit mailing list