Page MenuHomeFreeBSD

umb: Fix setting the input routine
ClosedPublic

Authored by zlei on Aug 27 2025, 4:49 PM.
Tags
None
Referenced Files
F163291941: D52182.id161441.diff
Tue, Jul 21, 7:16 PM
Unknown Object (File)
Mon, Jul 20, 2:33 PM
Unknown Object (File)
Wed, Jul 15, 6:41 AM
Unknown Object (File)
Wed, Jul 15, 6:41 AM
Unknown Object (File)
Sat, Jul 11, 4:36 PM
Unknown Object (File)
Sun, Jul 5, 6:30 AM
Unknown Object (File)
Fri, Jul 3, 8:27 AM
Unknown Object (File)
Tue, Jun 30, 4:13 AM
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 Not Applicable
Unit
Tests Not Applicable

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.