Page MenuHomeFreeBSD

umb: Fix setting the input routine
ClosedPublic

Authored by zlei on Aug 27 2025, 4:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Sep 11, 3:11 PM
Unknown Object (File)
Fri, Sep 4, 11:28 PM
Unknown Object (File)
Tue, Aug 25, 5:16 AM
Unknown Object (File)
Fri, Aug 21, 3:29 PM
Unknown Object (File)
Fri, Aug 21, 6:22 AM
Unknown Object (File)
Aug 13 2026, 1:18 AM
Unknown Object (File)
Aug 11 2026, 11:24 PM
Unknown Object (File)
Aug 10 2026, 12:43 PM
Subscribers

Details

Summary

This driver does not depend on netmap, and umb_input() works greatly
without netmap.

Remove the #ifdef DEV_NETMAP so that when "device netmap" is not
configured this driver can still correctly pass the inbound packets to
the net stack. Otherwise the input routine will be if_input_default()
which will silently drop all inbound packets.

PR: 263783
Reported by: Andre Albsmeier <mail@fbsd2.e4m.org>
Tested by: Andre Albsmeier <mail@fbsd2.e4m.org>

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

zlei requested review of this revision.Aug 27 2025, 4:49 PM

I'd like to have the fix in main before making the stable/15 branch. Please do not hesitate to ping me.

This revision was not accepted when it landed; it landed in state Needs Review.Sep 3 2025, 5:20 PM
This revision was automatically updated to reflect the committed changes.