Date: Mon, 4 Aug 2014 13:18:07 GMT From: dpl@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r271851 - soc2014/dpl/netmap-ipfwjit/extra/sys/sys Message-ID: <201408041318.s74DI7DG039351@socsvn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dpl Date: Mon Aug 4 13:18:06 2014 New Revision: 271851 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=271851 Log: Fixed a bug at mbuf.h Modified: soc2014/dpl/netmap-ipfwjit/extra/sys/sys/mbuf.h Modified: soc2014/dpl/netmap-ipfwjit/extra/sys/sys/mbuf.h ============================================================================== --- soc2014/dpl/netmap-ipfwjit/extra/sys/sys/mbuf.h Mon Aug 4 13:12:23 2014 (r271850) +++ soc2014/dpl/netmap-ipfwjit/extra/sys/sys/mbuf.h Mon Aug 4 13:18:06 2014 (r271851) @@ -308,7 +308,7 @@ if (req_len < 0 || req_len > mp->m_len) { D("no m_adj for len %d in mlen %d", req_len, mp->m_len); } else { - (char*)mp->m_data += req_len; + mp->m_data += req_len; mp->m_len += req_len; } }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408041318.s74DI7DG039351>