Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 May 2021 19:51:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 255430] ng_bridge don't sends broadcast packet to first found link in case of error in other links
Message-ID:  <bug-255430-7501-zNwtqV5Mol@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-255430-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-255430-7501@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=3D255430

--- Comment #5 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3Da56e5ad6903037861457da754574b4903=
dcb0e7e

commit a56e5ad6903037861457da754574b4903dcb0e7e
Author:     Lutz Donnerhacke <donner@FreeBSD.org>
AuthorDate: 2021-04-27 07:49:50 +0000
Commit:     Lutz Donnerhacke <donner@FreeBSD.org>
CommitDate: 2021-05-13 19:49:20 +0000

    netgraph/ng_bridge: Handle send errors during loop handling

    If sending out a packet fails during the loop over all links, the
    allocated memory is leaked and not all links receive a copy.  This
    patch fixes those problems, clarifies a premature abort of the loop,
    and fixes a minory style(9) bug.

    PR:             255430
    Submitted by:   Dancho Penev
    Tested by:      Dancho Penev
    MFC after:      1 week
    Differential Revision: https://reviews.freebsd.org/D30008

 sys/netgraph/ng_bridge.c | 55 ++++++++++++++++++++++++++------------------=
----
 1 file changed, 30 insertions(+), 25 deletions(-)

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255430-7501-zNwtqV5Mol>