Date: Sun, 15 May 2016 15:26:19 +0000 (UTC) From: Cy Schubert <cy@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r299857 - stable/9/sys/contrib/ipfilter/netinet Message-ID: <201605151526.u4FFQJ7l079245@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cy Date: Sun May 15 15:26:19 2016 New Revision: 299857 URL: https://svnweb.freebsd.org/changeset/base/299857 Log: Fix: IP Filter bug 1835705: It is impossible to delete a state using SIOCDELST ioctl. This is a direct commit to the stable/9 branch because this patch was already included in the ipfilter 5.1.2 import in r254562. It was ultimately included in ipfilter 4.1.29 (whereas stable/9 uses 4.1.28). Obtained from: ipfilter CVS repo: ip_state.c r1.13 Modified: stable/9/sys/contrib/ipfilter/netinet/ip_state.c Modified: stable/9/sys/contrib/ipfilter/netinet/ip_state.c ============================================================================== --- stable/9/sys/contrib/ipfilter/netinet/ip_state.c Sun May 15 15:14:46 2016 (r299856) +++ stable/9/sys/contrib/ipfilter/netinet/ip_state.c Sun May 15 15:26:19 2016 (r299857) @@ -421,7 +421,7 @@ caddr_t data; if ((sp->is_p == st.is_p) && (sp->is_v == st.is_v) && !bcmp((caddr_t)&sp->is_src, (caddr_t)&st.is_src, sizeof(st.is_src)) && - !bcmp((caddr_t)&sp->is_dst, (caddr_t)&st.is_src, + !bcmp((caddr_t)&sp->is_dst, (caddr_t)&st.is_dst, sizeof(st.is_dst)) && !bcmp((caddr_t)&sp->is_ps, (caddr_t)&st.is_ps, sizeof(st.is_ps))) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605151526.u4FFQJ7l079245>