aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/uipc_mbuf.c
diff options
context:
space:
mode:
authorMarko Zec <zec@FreeBSD.org>2010-05-01 18:34:50 +0000
committerMarko Zec <zec@FreeBSD.org>2010-05-01 18:34:50 +0000
commita83baab6e44131d87926395d6b006d32bc4f704c (patch)
tree96cd7d167023beefed5367deca6f1f497a9952d5 /sys/kern/uipc_mbuf.c
parenta932985f50a9ca5176e1e02a1a1c2b5b5bb95433 (diff)
downloadsrc-a83baab6e44131d87926395d6b006d32bc4f704c.tar.gz
src-a83baab6e44131d87926395d6b006d32bc4f704c.zip
Notes
Diffstat (limited to 'sys/kern/uipc_mbuf.c')
-rw-r--r--sys/kern/uipc_mbuf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c
index bc0e88d0a477..85e0e3955281 100644
--- a/sys/kern/uipc_mbuf.c
+++ b/sys/kern/uipc_mbuf.c
@@ -948,9 +948,8 @@ m_adj(struct mbuf *mp, int req_len)
len = 0;
}
}
- m = mp;
if (mp->m_flags & M_PKTHDR)
- m->m_pkthdr.len -= (req_len - len);
+ mp->m_pkthdr.len -= (req_len - len);
} else {
/*
* Trim from tail. Scan the mbuf chain,