Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Apr 2012 09:56:35 +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-8@freebsd.org
Subject:   svn commit: r234682 - stable/8/sys/netgraph
Message-ID:  <201204250956.q3P9uZZr090714@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: melifaro
Date: Wed Apr 25 09:56:35 2012
New Revision: 234682
URL: http://svn.freebsd.org/changeset/base/234682

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/8/sys/netgraph/ng_patch.c
Directory Properties:
  stable/8/sys/   (props changed)

Modified: stable/8/sys/netgraph/ng_patch.c
==============================================================================
--- stable/8/sys/netgraph/ng_patch.c	Wed Apr 25 09:55:34 2012	(r234681)
+++ stable/8/sys/netgraph/ng_patch.c	Wed Apr 25 09:56:35 2012	(r234682)
@@ -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?201204250956.q3P9uZZr090714>