Date: Wed, 25 Apr 2012 12:02:07 +0000 (UTC) From: "Andrey V. Elsukov" <ae@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org Subject: svn commit: r234683 - stable/7/sys/netgraph Message-ID: <201204251202.q3PC27qc097587@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ae Date: Wed Apr 25 12:02:06 2012 New Revision: 234683 URL: http://svn.freebsd.org/changeset/base/234683 Log: MFC r234574 (by melifaro): Fix panic in ng_patch(4) caused by checksum flags being added to mbuf flags. Tested by: Maxim Ignatenko <gelraen.ua@gmail.com> Modified: stable/7/sys/netgraph/ng_patch.c Directory Properties: stable/7/sys/ (props changed) Modified: stable/7/sys/netgraph/ng_patch.c ============================================================================== --- stable/7/sys/netgraph/ng_patch.c Wed Apr 25 09:56:35 2012 (r234682) +++ stable/7/sys/netgraph/ng_patch.c Wed Apr 25 12:02:06 2012 (r234683) @@ -517,7 +517,7 @@ ng_patch_rcvdata(hook_p hook, item_p ite return (ENOMEM); } do_patch(priv, m); - m->m_flags |= priv->config->csum_flags; + m->m_pkthdr.csum_flags |= priv->config->csum_flags; } target = NULL;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204251202.q3PC27qc097587>