mbuf: allow const pointer for m_rcvif()

This commit is contained in:
Gleb Smirnoff
2025-11-21 14:43:47 -08:00
parent 1ea3eda3d0
commit fd0296154d
+1 -1
View File
@@ -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);