Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Sep 2015 19:04:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-net@FreeBSD.org
Subject:   [Bug 202351] [ip6] [panic] Kernel panic in ip6_forward (different from 128247, 131038)
Message-ID:  <bug-202351-2472-VJfsp8HWHb@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-202351-2472@https.bugs.freebsd.org/bugzilla/>
References:  <bug-202351-2472@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202351

--- Comment #4 from commit-hook@freebsd.org ---
A commit references this bug:

Author: kp
Date: Tue Sep  1 19:04:05 UTC 2015
New revision: 287376
URL: https://svnweb.freebsd.org/changeset/base/287376

Log:
  pf: Fix misdetection of forwarding when net.link.bridge.pfil_bridge is set

  If net.link.bridge.pfil_bridge is set we can end up thinking we're forwarding
in
  pf_test6() because the rcvif and the ifp (output interface) are different.
  In that case we're bridging though, and the rcvif the the bridge member on
which
  the packet was received and ifp is the bridge itself.
  If we'd set dir to PF_FWD we'd end up calling ip6_forward() which is
incorrect.

  Instead check if the rcvif is a member of the ifp bridge. (In other words,
the
  if_bridge is the ifp's softc). If that's the case we're not forwarding but
  bridging.

  PR:    202351
  Reviewed by:    eri
  Differential Revision:    https://reviews.freebsd.org/D3534

Changes:
  head/sys/netpfil/pf/pf.c

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-202351-2472-VJfsp8HWHb>