[pf4freebsd] IPv6-Problem in with version 0.62 fix available

Max Laier max at love2party.net
Wed Sep 15 20:38:08 PDT 2004


Hello,

Pyun identified a problem with IPv6 with the newly introduced
mbuf-tagging-hack. Please get version 0.62a which fixes this issue.

Max

===================================================================

Index: pf.c
===================================================================
RCS file: /cvs/pf_33_freebsd/pf/pf.c,v
retrieving revision 1.7.2.1
retrieving revision 1.9
diff -r1.7.2.1 -r1.9
4725,4729c4725,4734
<                       if (sum == 0) {
<                               m->m_pkthdr.csum_flags |=
<                                   (CSUM_DATA_VALID|CSUM_PSEUDO_HDR);
<                               m->m_pkthdr.csum_data = 0xffff;
<                       }
---
>                       /*
>                        * XXX
>                        * IPv6 H/W cksum off-load not supported yet!
>                        *
>                        * if (sum == 0) {
>                        *      m->m_pkthdr.csum_flags |=
>                        *          (CSUM_DATA_VALID|CSUM_PSEUDO_HDR);
>                        *      m->m_pkthdr.csum_data = 0xffff;
>                        *}
>                        */







More information about the freebsd-pf mailing list