patch-2.4.19 linux-2.4.19/net/core/netfilter.c
Next file: linux-2.4.19/net/core/pktgen.c
Previous file: linux-2.4.19/net/core/neighbour.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Fri Aug 2 17:39:46 2002
- Orig file:
linux-2.4.18/net/core/netfilter.c
- Orig date:
Mon Feb 25 11:38:14 2002
diff -urN linux-2.4.18/net/core/netfilter.c linux-2.4.19/net/core/netfilter.c
@@ -83,8 +83,7 @@
/* Do exclusive ranges overlap? */
static inline int overlap(int min1, int max1, int min2, int max2)
{
- return (min1 >= min2 && min1 < max2)
- || (max1 > min2 && max1 <= max2);
+ return max1 > min2 && min1 < max2;
}
/* Functions to register sockopt ranges (exclusive). */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)