<html>
<head>
<base href="https://bugs.dpdk.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:konstantin.v.ananyev@yandex.ru" title="Konstantin Ananyev (konstantin.v.ananyev@yandex.ru)"> <span class="fn">Konstantin Ananyev</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - net/af_packet: tx_burst() can modify packets"
href="https://bugs.dpdk.org/show_bug.cgi?id=1416">bug 1416</a>
<br>
<table border="1" cellspacing="0" cellpadding="8" class="bz_diff_table">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>UNCONFIRMED
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>INVALID
</td>
</tr></table>
<p>
<div class="bz_comment_block">
<b class="bz_comment_head"><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - net/af_packet: tx_burst() can modify packets"
href="https://bugs.dpdk.org/show_bug.cgi?id=1416#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - net/af_packet: tx_burst() can modify packets"
href="https://bugs.dpdk.org/show_bug.cgi?id=1416">bug 1416</a>
from <span class="vcard"><a class="email" href="mailto:konstantin.v.ananyev@yandex.ru" title="Konstantin Ananyev (konstantin.v.ananyev@yandex.ru)"> <span class="fn">Konstantin Ananyev</span></a>
</span>
</b>
<pre class="bz_comment_text">As Stephen Hemminger <<a href="mailto:stephen@networkplumber.org">stephen@networkplumber.org</a>> pointed out:
vlan_insert will fail if the mbuf is has refcnt > 1.
static inline int rte_vlan_insert(struct rte_mbuf **m)
{
struct rte_ether_hdr *oh, *nh;
struct rte_vlan_hdr *vh;
/* Can't insert header if mbuf is shared */
if (!RTE_MBUF_DIRECT(*m) || rte_mbuf_refcnt_read(*m) > 1)
return -EINVAL;
So closing as not a bug.
</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://bugs.dpdk.org/show_bug.cgi?id=1416#c1">
<meta itemprop="name" content="View bug">
</div>
<meta itemprop="description" content="Bugzilla bug update notification">
</div>
</body>
</html>