diff options
author | andre <andre@FreeBSD.org> | 2013-08-19 13:27:32 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2013-08-19 13:27:32 +0000 |
commit | 7cc6cc696c12dcee5a294f67527cebb28374c49e (patch) | |
tree | 4bf04ae1ab9f3c2b9ed6d2ce7bcd15edb4b3a1f0 /sys/ofed | |
parent | a84c641767af511112a0ead58df9bf7937868cde (diff) | |
download | FreeBSD-src-7cc6cc696c12dcee5a294f67527cebb28374c49e.zip FreeBSD-src-7cc6cc696c12dcee5a294f67527cebb28374c49e.tar.gz |
Add m_clrprotoflags() to clear protocol specific mbuf flags at up and
downwards layer crossings.
Consistently use it within IP, IPv6 and ethernet protocols.
Discussed with: trociny, glebius
Diffstat (limited to 'sys/ofed')
-rw-r--r-- | sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c b/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c index ba3447f..944e0ac 100644 --- a/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c +++ b/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c @@ -1442,7 +1442,7 @@ ipoib_input(struct ifnet *ifp, struct mbuf *m) * Strip off Infiniband header. */ m->m_flags &= ~M_VLANTAG; - m->m_flags &= ~(M_PROTOFLAGS); + m_clrprotoflags(m); m_adj(m, IPOIB_HEADER_LEN); if (IPOIB_IS_MULTICAST(eh->hwaddr)) { |