<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/include/linux/if_vlan.h, branch v3.2.29</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.2.29</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.2.29'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2011-10-30T08:43:30Z</updated>
<entry>
<title>vlan: allow nested vlan_do_receive()</title>
<updated>2011-10-30T08:43:30Z</updated>
<author>
<name>Eric Dumazet</name>
<email>eric.dumazet@gmail.com</email>
</author>
<published>2011-10-29T06:13:39Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=6a32e4f9dd9219261f8856f817e6655114cfec2f'/>
<id>urn:sha1:6a32e4f9dd9219261f8856f817e6655114cfec2f</id>
<content type='text'>
commit 2425717b27eb (net: allow vlan traffic to be received under bond)
broke ARP processing on vlan on top of bonding.

       +-------+
eth0 --| bond0 |---bond0.103
eth1 --|       |
       +-------+

52870.115435: skb_gro_reset_offset &lt;-napi_gro_receive
52870.115435: dev_gro_receive &lt;-napi_gro_receive
52870.115435: napi_skb_finish &lt;-napi_gro_receive
52870.115435: netif_receive_skb &lt;-napi_skb_finish
52870.115435: get_rps_cpu &lt;-netif_receive_skb
52870.115435: __netif_receive_skb &lt;-netif_receive_skb
52870.115436: vlan_do_receive &lt;-__netif_receive_skb
52870.115436: bond_handle_frame &lt;-__netif_receive_skb
52870.115436: vlan_do_receive &lt;-__netif_receive_skb
52870.115436: arp_rcv &lt;-__netif_receive_skb
52870.115436: kfree_skb &lt;-arp_rcv

Packet is dropped in arp_rcv() because its pkt_type was set to
PACKET_OTHERHOST in the first vlan_do_receive() call, since no eth0.103
exists.

We really need to change pkt_type only if no more rx_handler is about to
be called for the packet.

Signed-off-by: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
Reviewed-by: Jiri Pirko &lt;jpirko@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>vlan: move vlan_group_[gs]et_device to public header</title>
<updated>2011-07-21T20:47:58Z</updated>
<author>
<name>Jiri Pirko</name>
<email>jpirko@redhat.com</email>
</author>
<published>2011-07-20T04:54:49Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=536d1d4a076210f763b60d7c3823f2edbddf3a9c'/>
<id>urn:sha1:536d1d4a076210f763b60d7c3823f2edbddf3a9c</id>
<content type='text'>
there are no users outside vlan code

Signed-off-by: Jiri Pirko &lt;jpirko@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>vlan: kill vlan_gro_frags and vlan_gro_receive</title>
<updated>2011-07-21T20:47:57Z</updated>
<author>
<name>Jiri Pirko</name>
<email>jpirko@redhat.com</email>
</author>
<published>2011-07-20T04:54:42Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=ffcf9b767293ebc3e59e639cd4ec0dff5ca39798'/>
<id>urn:sha1:ffcf9b767293ebc3e59e639cd4ec0dff5ca39798</id>
<content type='text'>
Signed-off-by: Jiri Pirko &lt;jpirko@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>vlan: kill __vlan_hwaccel_rx and vlan_hwaccel_rx</title>
<updated>2011-07-21T20:47:56Z</updated>
<author>
<name>Jiri Pirko</name>
<email>jpirko@redhat.com</email>
</author>
<published>2011-07-20T04:54:36Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=a4aeb26628b5184386f99cf202ac837b0e56c975'/>
<id>urn:sha1:a4aeb26628b5184386f99cf202ac837b0e56c975</id>
<content type='text'>
Signed-off-by: Jiri Pirko &lt;jpirko@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>vlan: kill vlan_hwaccel_receive_skb</title>
<updated>2011-07-21T20:47:56Z</updated>
<author>
<name>Jiri Pirko</name>
<email>jpirko@redhat.com</email>
</author>
<published>2011-07-20T04:54:27Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=6dacaddd4850cbd6390d4f87548262b5ed79b4a5'/>
<id>urn:sha1:6dacaddd4850cbd6390d4f87548262b5ed79b4a5</id>
<content type='text'>
Signed-off-by: Jiri Pirko &lt;jpirko@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>vlan: introduce __vlan_find_dev_deep()</title>
<updated>2011-07-21T20:47:53Z</updated>
<author>
<name>Jiri Pirko</name>
<email>jpirko@redhat.com</email>
</author>
<published>2011-07-20T04:54:05Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=cec9c133631039f82e4a5ff3bf47b3eba14ff1aa'/>
<id>urn:sha1:cec9c133631039f82e4a5ff3bf47b3eba14ff1aa</id>
<content type='text'>
Since vlan_group_get_device and vlan_group is not going to be accessible
from device drivers, introduce function which substitutes it.

Signed-off-by: Jiri Pirko &lt;jpirko@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>vlan: finish removing vlan_find_dev from public header</title>
<updated>2011-07-21T20:47:53Z</updated>
<author>
<name>Jiri Pirko</name>
<email>jpirko@redhat.com</email>
</author>
<published>2011-07-20T04:54:04Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=f605234066852b11096ab071124e3fe415e94420'/>
<id>urn:sha1:f605234066852b11096ab071124e3fe415e94420</id>
<content type='text'>
else case remained forgotten.

Signed-off-by: Jiri Pirko &lt;jpirko@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: vlan, qlcnic: make vlan_find_dev private</title>
<updated>2011-07-17T19:33:22Z</updated>
<author>
<name>David Lamparter</name>
<email>equinox@diac24.net</email>
</author>
<published>2011-07-17T08:53:12Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=69ecca86da4890c13a5e29c51b4ac76a1a8a62c9'/>
<id>urn:sha1:69ecca86da4890c13a5e29c51b4ac76a1a8a62c9</id>
<content type='text'>
there is only one user of vlan_find_dev outside of the actual vlan code:
qlcnic uses it to iterate over some VLANs it knows.

let's just make vlan_find_dev private to the VLAN code and have the
iteration in qlcnic be a bit more direct. (a few rcu dereferences less
too)

Signed-off-by: David Lamparter &lt;equinox@diac24.net&gt;
Cc: Patrick McHardy &lt;kaber@trash.net&gt;
Cc: Amit Kumar Salecha &lt;amit.salecha@qlogic.com&gt;
Cc: Anirban Chakraborty &lt;anirban.chakraborty@qlogic.com&gt;
Cc: linux-driver@qlogic.com
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>vlan: Fix the ingress VLAN_FLAG_REORDER_HDR check</title>
<updated>2011-06-11T23:15:50Z</updated>
<author>
<name>Jiri Pirko</name>
<email>jpirko@redhat.com</email>
</author>
<published>2011-06-10T06:56:58Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=0b5c9db1b11d3175bb42b80663a9f072f801edf5'/>
<id>urn:sha1:0b5c9db1b11d3175bb42b80663a9f072f801edf5</id>
<content type='text'>
Testing of VLAN_FLAG_REORDER_HDR does not belong in vlan_untag
but rather in vlan_do_receive.  Otherwise the vlan header
will not be properly put on the packet in the case of
vlan header accelleration.

As we remove the check from vlan_check_reorder_header
rename it vlan_reorder_header to keep the naming clean.

Fix up the skb-&gt;pkt_type early so we don't look at the packet
after adding the vlan tag, which guarantees we don't goof
and look at the wrong field.

Use a simple if statement instead of a complicated switch
statement to decided that we need to increment rx_stats
for a multicast packet.

Hopefully at somepoint we will just declare the case where
VLAN_FLAG_REORDER_HDR is cleared as unsupported and remove
the code.  Until then this keeps it working correctly.

Signed-off-by: Eric W. Biederman &lt;ebiederm@xmission.com&gt;
Signed-off-by: Jiri Pirko &lt;jpirko@redhat.com&gt;
Acked-by: Changli Gao &lt;xiaosuo@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: move is_vlan_dev into public header file (v2)</title>
<updated>2011-05-25T21:55:23Z</updated>
<author>
<name>Neil Horman</name>
<email>nhorman@tuxdriver.com</email>
</author>
<published>2011-05-24T08:31:08Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=6dcbbe25dcc9bd2bdeb4f685f8fb874ffc10e6be'/>
<id>urn:sha1:6dcbbe25dcc9bd2bdeb4f685f8fb874ffc10e6be</id>
<content type='text'>
Migrate is_vlan_dev() to if_vlan.h so that core networkig can use it

Signed-off-by: Neil Horman &lt;nhorman@tuxdriver.com&gt;
CC: davem@davemloft.net
CC: bhutchings@solarflare.com
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
