[Bug 256587] tcpreplay not working for if_tun (tun0)

[email protected]
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256587

--- Comment #3 from [email protected] ---
A commit in branch stable/14 references this bug:

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

commit 3f6515c20f381d6e136c8c322eadc69fd0e6c4aa
Author:     Seth Hoffert <[email protected]>
AuthorDate: 2023-10-22 14:12:45 +0000
Commit:     Mark Johnston <[email protected]>
CommitDate: 2024-05-08 13:06:15 +0000

    bpf: Make BPF interop consistent with if_loop

    The pseudo_AF_HDRCMPLT check is already being done in if_loop and
    just needed to be ported over to if_ic, if_wg, if_disc, if_gif,
    if_gre, if_me, if_tuntap and ng_iface.  This is needed in order to
    allow these interfaces to work properly with e.g., tcpreplay.

    PR:             256587
    Reviewed by:    markj
    MFC after:      2 weeks
    Pull Request:   https://github.com/freebsd/freebsd-src/pull/876

    (cherry picked from commit 2cb0fce24d64039090dc9243cdf0715ee80c91b1)

 sys/dev/iicbus/if_ic.c  | 4 ++--
 sys/dev/wg/if_wg.c      | 3 ++-
 sys/net/if_disc.c       | 2 +-
 sys/net/if_gif.c        | 3 ++-
 sys/net/if_gre.c        | 3 ++-
 sys/net/if_me.c         | 3 ++-
 sys/net/if_tuntap.c     | 2 +-
 sys/netgraph/ng_iface.c | 2 +-
 8 files changed, 13 insertions(+), 9 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.