From owner-svn-src-all@FreeBSD.ORG Sat May 11 17:58:26 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 91F32905; Sat, 11 May 2013 17:58:26 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 831911CB; Sat, 11 May 2013 17:58:26 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4BHwQN9096148; Sat, 11 May 2013 17:58:26 GMT (envelope-from glebius@svn.freebsd.org) Received: (from glebius@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4BHwQjK096147; Sat, 11 May 2013 17:58:26 GMT (envelope-from glebius@svn.freebsd.org) Message-Id: <201305111758.r4BHwQjK096147@svn.freebsd.org> From: Gleb Smirnoff Date: Sat, 11 May 2013 17:58:26 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r250519 - head/sys/netpfil/pf X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 May 2013 17:58:26 -0000 Author: glebius Date: Sat May 11 17:58:26 2013 New Revision: 250519 URL: http://svnweb.freebsd.org/changeset/base/250519 Log: Fix DIOCADDSTATE operation. Modified: head/sys/netpfil/pf/pf_ioctl.c Modified: head/sys/netpfil/pf/pf_ioctl.c ============================================================================== --- head/sys/netpfil/pf/pf_ioctl.c Sat May 11 17:57:52 2013 (r250518) +++ head/sys/netpfil/pf/pf_ioctl.c Sat May 11 17:58:26 2013 (r250519) @@ -1691,7 +1691,7 @@ relock_DIOCKILLSTATES: PF_RULES_RLOCK(); error = pfsync_state_import_ptr(sp, PFSYNC_SI_IOCTL); PF_RULES_RUNLOCK(); - } + } else error = EOPNOTSUPP; break; }