NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/44511: cleanup in pf_osfp.c .
>Number: 44511
>Category: kern
>Synopsis: cleanup in pf_osfp.c .
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Feb 04 07:15:01 +0000 2011
>Originator: Henning Petersen
>Release: NetBSD-current
>Organization:
>Environment:
>Description:
cleanup in pf_osfp.c .
>How-To-Repeat:
>Fix:
diff -u -r1.10 pf_osfp.c
--- sys/dist/pf/net/pf_osfp.c 12 Apr 2010 13:57:38 -0000 1.10
+++ sys/dist/pf/net/pf_osfp.c 14 Jan 2011 06:26:17 -0000
@@ -585,7 +585,7 @@
if (find.fp_mss == 0)
find.fp_mss = 128;
if (f->fp_flags & PF_OSFP_WSIZE_MSS)
- find.fp_wsize *= find.fp_mss, 1;
+ find.fp_wsize *= find.fp_mss;
else if (f->fp_flags & PF_OSFP_WSIZE_MTU)
find.fp_wsize *= (find.fp_mss + 40);
else if (f->fp_flags & PF_OSFP_WSIZE_MOD)
Home |
Main Index |
Thread Index |
Old Index