The branch main has been updated by glebius: URL: https://cgit.FreeBSD.org/src/commit/?id=fd0296154d471daeaf113672cb989d5abea9a610
commit fd0296154d471daeaf113672cb989d5abea9a610 Author: Gleb Smirnoff <[email protected]> AuthorDate: 2025-11-21 22:43:47 +0000 Commit: Gleb Smirnoff <[email protected]> CommitDate: 2025-11-21 22:43:47 +0000 mbuf: allow const pointer for m_rcvif() --- sys/sys/mbuf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sys/mbuf.h b/sys/sys/mbuf.h index f9141bf70742..1f1b05857ebf 100644 --- a/sys/sys/mbuf.h +++ b/sys/sys/mbuf.h @@ -1289,7 +1289,7 @@ m_align(struct mbuf *m, int len) /* Return the rcvif of a packet header. */ static __inline struct ifnet * -m_rcvif(struct mbuf *m) +m_rcvif(const struct mbuf *m) { M_ASSERTPKTHDR(m);
