<div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">Dne 8. 4. 2017 10:14 napsal uživatel &quot;Stephen Hemminger&quot; &lt;<a href="mailto:stephen@networkplumber.org">stephen@networkplumber.org</a>&gt;:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="elided-text">On Sat, 8 Apr 2017 17:05:48 +0300<br>
Nikolay Aleksandrov &lt;<a href="mailto:nikolay@cumulusnetworks.com">nikolay@cumulusnetworks.com</a>&gt; wrote:<br>
<br>
&gt; On 08/04/17 16:49, Ido Schimmel wrote:<br>
&gt; &gt; On Sat, Apr 08, 2017 at 09:30:42AM -0400, Stephen Hemminger wrote:<br>
&gt; &gt;&gt; On Sat, 8 Apr 2017 14:41:58 +0300<br>
&gt; &gt;&gt; &lt;<a href="mailto:idosch@mellanox.com">idosch@mellanox.com</a>&gt; wrote:<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;&gt;  static void br_dev_free(struct net_device *dev)<br>
&gt; &gt;&gt;&gt;  {<br>
&gt; &gt;&gt;&gt; - struct net_bridge *br = netdev_priv(dev);<br>
&gt; &gt;&gt;&gt; -<br>
&gt; &gt;&gt;&gt; - free_percpu(br-&gt;stats);<br>
&gt; &gt;&gt;&gt;   free_netdev(dev);<br>
&gt; &gt;&gt;&gt;  }<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Since the only thing left is free_netdev, you can now just set dev-&gt;destructor<br>
&gt; &gt;&gt; to be free_netdev.<br>
&gt; &gt;<br>
&gt; &gt; Fine.<br>
&gt; &gt;<br>
&gt; &gt; Beside stylistic issues, I would appreciate comments on how this should<br>
&gt; &gt; be handled. Are we reverting the patch in the Fixes line or applying<br>
&gt; &gt; this patchset?<br>
&gt; &gt;<br>
&gt; &gt; I prefer the first option. Then after net is merged into net-next I can<br>
&gt; &gt; re-post this patchset with the requested changes.<br>
&gt; &gt;<br>
&gt;<br>
&gt; +1<br>
&gt;<br>
&gt;<br>
<br>
</div>If this fixes the issue, then the one fix should go to stable, net and net-next.<br>
There is no good reason to have two versions.<br>
<br>
</blockquote></div>+1</div></div></div>