diff options
author | Andrey V. Elsukov <ae@FreeBSD.org> | 2014-10-24 13:34:22 +0000 |
---|---|---|
committer | Andrey V. Elsukov <ae@FreeBSD.org> | 2014-10-24 13:34:22 +0000 |
commit | a663aa4ce80525e8c165c59788bb205cc5a869ae (patch) | |
tree | c519b44bdce4663f9ea86fb3d90857aec8ec8fc6 /sys/netinet6 | |
parent | 382a5cbf423a65c5504a421776412b26daa9e949 (diff) | |
download | src-a663aa4ce80525e8c165c59788bb205cc5a869ae.tar.gz src-a663aa4ce80525e8c165c59788bb205cc5a869ae.zip |
Remove redundant check and m_pullup() call.
Notes
Notes:
svn path=/head/; revision=273587
Diffstat (limited to 'sys/netinet6')
-rw-r--r-- | sys/netinet6/in6_gif.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/netinet6/in6_gif.c b/sys/netinet6/in6_gif.c index 6d48b5da8fb7..d0cbedc88ea6 100644 --- a/sys/netinet6/in6_gif.c +++ b/sys/netinet6/in6_gif.c @@ -111,8 +111,6 @@ in6_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 |