Date: Wed, 25 Apr 2012 09:55:34 +0000 (UTC) From: "Alexander V. Chernikov" <melifaro@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r234681 - stable/9/sys/netgraph Message-ID: <201204250955.q3P9tYhL090641@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: melifaro Date: Wed Apr 25 09:55:34 2012 New Revision: 234681 URL: http://svn.freebsd.org/changeset/base/234681 Log: MFC r234574 Fix panic in ng_patch(4) caused by checksum flags being added to mbuf flags. Tested by: Maxim Ignatenko <gelraen.ua@gmail.com> Approved by: ae(mentor) Modified: stable/9/sys/netgraph/ng_patch.c Directory Properties: stable/9/sys/ (props changed) Modified: stable/9/sys/netgraph/ng_patch.c ============================================================================== --- stable/9/sys/netgraph/ng_patch.c Wed Apr 25 07:27:13 2012 (r234680) +++ stable/9/sys/netgraph/ng_patch.c Wed Apr 25 09:55:34 2012 (r234681) @@ -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?201204250955.q3P9tYhL090641>