aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/in_gif.c
diff options
context:
space:
mode:
authorAndrey V. Elsukov <ae@FreeBSD.org>2014-10-24 13:34:22 +0000
committerAndrey V. Elsukov <ae@FreeBSD.org>2014-10-24 13:34:22 +0000
commita663aa4ce80525e8c165c59788bb205cc5a869ae (patch)
treec519b44bdce4663f9ea86fb3d90857aec8ec8fc6 /sys/netinet/in_gif.c
parent382a5cbf423a65c5504a421776412b26daa9e949 (diff)
downloadsrc-a663aa4ce80525e8c165c59788bb205cc5a869ae.tar.gz
src-a663aa4ce80525e8c165c59788bb205cc5a869ae.zip
Remove redundant check and m_pullup() call.
Notes
Notes: svn path=/head/; revision=273587
Diffstat (limited to 'sys/netinet/in_gif.c')
-rw-r--r--sys/netinet/in_gif.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/netinet/in_gif.c b/sys/netinet/in_gif.c
index 3a139f80de0d..59a5b8b3336f 100644
--- a/sys/netinet/in_gif.c
+++ b/sys/netinet/in_gif.c
@@ -103,8 +103,6 @@ in_gif_output(struct ifnet *ifp, struct mbuf *m, int proto, uint8_t ecn)
len += ETHERIP_ALIGN;
#endif
M_PREPEND(m, len, M_NOWAIT);
- if (m != NULL && m->m_len < len)
- m = m_pullup(m, len);
if (m == NULL)
return (ENOBUFS);
#ifndef __NO_STRICT_ALIGNMENT