<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-stable.git/drivers/net/vxlan.c, branch v4.1</title>
<subtitle>Linux kernel stable tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/'/>
<entry>
<title>vxlan: correct typo in call to unregister_netdevice_queue</title>
<updated>2015-05-18T20:57:09+00:00</updated>
<author>
<name>John W. Linville</name>
<email>linville@tuxdriver.com</email>
</author>
<published>2015-05-18T17:51:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=13c3ed6a92724d8c8cb148a14b0ae190ddfe7413'/>
<id>13c3ed6a92724d8c8cb148a14b0ae190ddfe7413</id>
<content type='text'>
By inspection, this appears to be a typo.  The gating comparison
involves vxlan-&gt;dev rather than dev.  In fact, dev is the iterator in
the preceding loop above but it is actually constant in the 2nd loop.

Use of dev seems to be a bad cut-n-paste from the prior call to
unregister_netdevice_queue.  Change dev to vxlan-&gt;dev, since that is
what is actually being checked.

Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
By inspection, this appears to be a typo.  The gating comparison
involves vxlan-&gt;dev rather than dev.  In fact, dev is the iterator in
the preceding loop above but it is actually constant in the 2nd loop.

Use of dev seems to be a bad cut-n-paste from the prior call to
unregister_netdevice_queue.  Change dev to vxlan-&gt;dev, since that is
what is actually being checked.

Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vxlan: remove the unnecessary codes</title>
<updated>2015-04-22T22:45:49+00:00</updated>
<author>
<name>Li RongQing</name>
<email>roy.qing.li@gmail.com</email>
</author>
<published>2015-04-22T07:49:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=608404290e2d9d1756db4013c4ee12fa7617dad9'/>
<id>608404290e2d9d1756db4013c4ee12fa7617dad9</id>
<content type='text'>
The return value of vxlan_fdb_replace always is greater than or equal to 0

Signed-off-by: Li RongQing &lt;roy.qing.li@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The return value of vxlan_fdb_replace always is greater than or equal to 0

Signed-off-by: Li RongQing &lt;roy.qing.li@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net</title>
<updated>2015-04-14T19:44:14+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2015-04-14T19:44:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=87ffabb1f055e14e7d171c6599539a154d647904'/>
<id>87ffabb1f055e14e7d171c6599539a154d647904</id>
<content type='text'>
The dwmac-socfpga.c conflict was a case of a bug fix overlapping
changes in net-next to handle an error pointer differently.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The dwmac-socfpga.c conflict was a case of a bug fix overlapping
changes in net-next to handle an error pointer differently.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>udptunnels: Call handle_offloads after inserting vlan tag.</title>
<updated>2015-04-09T18:56:32+00:00</updated>
<author>
<name>Jesse Gross</name>
<email>jesse@nicira.com</email>
</author>
<published>2015-04-09T18:19:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=b736a623bd099cdf5521ca9bd03559f3bc7fa31c'/>
<id>b736a623bd099cdf5521ca9bd03559f3bc7fa31c</id>
<content type='text'>
handle_offloads() calls skb_reset_inner_headers() to store
the layer pointers to the encapsulated packet. However, we
currently push the vlag tag (if there is one) onto the packet
afterwards. This changes the MAC header for the encapsulated
packet but it is not reflected in skb-&gt;inner_mac_header, which
breaks GSO and drivers which attempt to use this for encapsulation
offloads.

Fixes: 1eaa8178 ("vxlan: Add tx-vlan offload support.")
Signed-off-by: Jesse Gross &lt;jesse@nicira.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
handle_offloads() calls skb_reset_inner_headers() to store
the layer pointers to the encapsulated packet. However, we
currently push the vlag tag (if there is one) onto the packet
afterwards. This changes the MAC header for the encapsulated
packet but it is not reflected in skb-&gt;inner_mac_header, which
breaks GSO and drivers which attempt to use this for encapsulation
offloads.

Fixes: 1eaa8178 ("vxlan: Add tx-vlan offload support.")
Signed-off-by: Jesse Gross &lt;jesse@nicira.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vxlan: do not exit on error in vxlan_stop()</title>
<updated>2015-04-09T02:48:08+00:00</updated>
<author>
<name>WANG Cong</name>
<email>xiyou.wangcong@gmail.com</email>
</author>
<published>2015-04-08T21:48:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=f13b1689d753f333459878ac27cb12d414502a09'/>
<id>f13b1689d753f333459878ac27cb12d414502a09</id>
<content type='text'>
We need to clean up vxlan despite vxlan_igmp_leave() fails.

This fixes the following kernel warning:

 WARNING: CPU: 0 PID: 6 at lib/debugobjects.c:263 debug_print_object+0x7c/0x8d()
 ODEBUG: free active (active state 0) object type: timer_list hint: vxlan_cleanup+0x0/0xd0
 CPU: 0 PID: 6 Comm: kworker/u8:0 Not tainted 4.0.0-rc7+ #953
 Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
 Workqueue: netns cleanup_net
  0000000000000009 ffff88011955f948 ffffffff81a25f5a 00000000253f253e
  ffff88011955f998 ffff88011955f988 ffffffff8107608e 0000000000000000
  ffffffff814deba2 ffff8800d4e94000 ffffffff82254c30 ffffffff81fbe455
 Call Trace:
  [&lt;ffffffff81a25f5a&gt;] dump_stack+0x4c/0x65
  [&lt;ffffffff8107608e&gt;] warn_slowpath_common+0x9c/0xb6
  [&lt;ffffffff814deba2&gt;] ? debug_print_object+0x7c/0x8d
  [&lt;ffffffff81076116&gt;] warn_slowpath_fmt+0x46/0x48
  [&lt;ffffffff814deba2&gt;] debug_print_object+0x7c/0x8d
  [&lt;ffffffff81666bf1&gt;] ? vxlan_fdb_destroy+0x5b/0x5b
  [&lt;ffffffff814dee02&gt;] __debug_check_no_obj_freed+0xc3/0x15f
  [&lt;ffffffff814df728&gt;] debug_check_no_obj_freed+0x12/0x16
  [&lt;ffffffff8117ae4e&gt;] slab_free_hook+0x64/0x6c
  [&lt;ffffffff8114deaa&gt;] ? kvfree+0x31/0x33
  [&lt;ffffffff8117dc66&gt;] kfree+0x101/0x1ac
  [&lt;ffffffff8114deaa&gt;] kvfree+0x31/0x33
  [&lt;ffffffff817d4137&gt;] netdev_freemem+0x18/0x1a
  [&lt;ffffffff817e8b52&gt;] netdev_release+0x2e/0x32
  [&lt;ffffffff815b4163&gt;] device_release+0x5a/0x92
  [&lt;ffffffff814bd4dd&gt;] kobject_cleanup+0x49/0x5e
  [&lt;ffffffff814bd3ff&gt;] kobject_put+0x45/0x49
  [&lt;ffffffff817d3fc1&gt;] netdev_run_todo+0x26f/0x283
  [&lt;ffffffff817d4873&gt;] ? rollback_registered_many+0x20f/0x23b
  [&lt;ffffffff817e0c80&gt;] rtnl_unlock+0xe/0x10
  [&lt;ffffffff817d4af0&gt;] default_device_exit_batch+0x12a/0x139
  [&lt;ffffffff810aadfa&gt;] ? wait_woken+0x8f/0x8f
  [&lt;ffffffff817c8e14&gt;] ops_exit_list+0x2b/0x57
  [&lt;ffffffff817c9b21&gt;] cleanup_net+0x154/0x1e7
  [&lt;ffffffff8108b05d&gt;] process_one_work+0x255/0x4ad
  [&lt;ffffffff8108af69&gt;] ? process_one_work+0x161/0x4ad
  [&lt;ffffffff8108b4b1&gt;] worker_thread+0x1cd/0x2ab
  [&lt;ffffffff8108b2e4&gt;] ? process_scheduled_works+0x2f/0x2f
  [&lt;ffffffff81090686&gt;] kthread+0xd4/0xdc
  [&lt;ffffffff8109eca3&gt;] ? local_clock+0x19/0x22
  [&lt;ffffffff810905b2&gt;] ? __kthread_parkme+0x83/0x83
  [&lt;ffffffff81a31c48&gt;] ret_from_fork+0x58/0x90
  [&lt;ffffffff810905b2&gt;] ? __kthread_parkme+0x83/0x83

For the long-term, we should handle NETDEV_{UP,DOWN} event
from the lower device of a tunnel device.

Fixes: 56ef9c909b40 ("vxlan: Move socket initialization to within rtnl scope")
Cc: Marcelo Ricardo Leitner &lt;marcelo.leitner@gmail.com&gt;
Signed-off-by: Cong Wang &lt;xiyou.wangcong@gmail.com&gt;
Acked-by: Marcelo Ricardo Leitner &lt;marcelo.leitner@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We need to clean up vxlan despite vxlan_igmp_leave() fails.

This fixes the following kernel warning:

 WARNING: CPU: 0 PID: 6 at lib/debugobjects.c:263 debug_print_object+0x7c/0x8d()
 ODEBUG: free active (active state 0) object type: timer_list hint: vxlan_cleanup+0x0/0xd0
 CPU: 0 PID: 6 Comm: kworker/u8:0 Not tainted 4.0.0-rc7+ #953
 Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
 Workqueue: netns cleanup_net
  0000000000000009 ffff88011955f948 ffffffff81a25f5a 00000000253f253e
  ffff88011955f998 ffff88011955f988 ffffffff8107608e 0000000000000000
  ffffffff814deba2 ffff8800d4e94000 ffffffff82254c30 ffffffff81fbe455
 Call Trace:
  [&lt;ffffffff81a25f5a&gt;] dump_stack+0x4c/0x65
  [&lt;ffffffff8107608e&gt;] warn_slowpath_common+0x9c/0xb6
  [&lt;ffffffff814deba2&gt;] ? debug_print_object+0x7c/0x8d
  [&lt;ffffffff81076116&gt;] warn_slowpath_fmt+0x46/0x48
  [&lt;ffffffff814deba2&gt;] debug_print_object+0x7c/0x8d
  [&lt;ffffffff81666bf1&gt;] ? vxlan_fdb_destroy+0x5b/0x5b
  [&lt;ffffffff814dee02&gt;] __debug_check_no_obj_freed+0xc3/0x15f
  [&lt;ffffffff814df728&gt;] debug_check_no_obj_freed+0x12/0x16
  [&lt;ffffffff8117ae4e&gt;] slab_free_hook+0x64/0x6c
  [&lt;ffffffff8114deaa&gt;] ? kvfree+0x31/0x33
  [&lt;ffffffff8117dc66&gt;] kfree+0x101/0x1ac
  [&lt;ffffffff8114deaa&gt;] kvfree+0x31/0x33
  [&lt;ffffffff817d4137&gt;] netdev_freemem+0x18/0x1a
  [&lt;ffffffff817e8b52&gt;] netdev_release+0x2e/0x32
  [&lt;ffffffff815b4163&gt;] device_release+0x5a/0x92
  [&lt;ffffffff814bd4dd&gt;] kobject_cleanup+0x49/0x5e
  [&lt;ffffffff814bd3ff&gt;] kobject_put+0x45/0x49
  [&lt;ffffffff817d3fc1&gt;] netdev_run_todo+0x26f/0x283
  [&lt;ffffffff817d4873&gt;] ? rollback_registered_many+0x20f/0x23b
  [&lt;ffffffff817e0c80&gt;] rtnl_unlock+0xe/0x10
  [&lt;ffffffff817d4af0&gt;] default_device_exit_batch+0x12a/0x139
  [&lt;ffffffff810aadfa&gt;] ? wait_woken+0x8f/0x8f
  [&lt;ffffffff817c8e14&gt;] ops_exit_list+0x2b/0x57
  [&lt;ffffffff817c9b21&gt;] cleanup_net+0x154/0x1e7
  [&lt;ffffffff8108b05d&gt;] process_one_work+0x255/0x4ad
  [&lt;ffffffff8108af69&gt;] ? process_one_work+0x161/0x4ad
  [&lt;ffffffff8108b4b1&gt;] worker_thread+0x1cd/0x2ab
  [&lt;ffffffff8108b2e4&gt;] ? process_scheduled_works+0x2f/0x2f
  [&lt;ffffffff81090686&gt;] kthread+0xd4/0xdc
  [&lt;ffffffff8109eca3&gt;] ? local_clock+0x19/0x22
  [&lt;ffffffff810905b2&gt;] ? __kthread_parkme+0x83/0x83
  [&lt;ffffffff81a31c48&gt;] ret_from_fork+0x58/0x90
  [&lt;ffffffff810905b2&gt;] ? __kthread_parkme+0x83/0x83

For the long-term, we should handle NETDEV_{UP,DOWN} event
from the lower device of a tunnel device.

Fixes: 56ef9c909b40 ("vxlan: Move socket initialization to within rtnl scope")
Cc: Marcelo Ricardo Leitner &lt;marcelo.leitner@gmail.com&gt;
Signed-off-by: Cong Wang &lt;xiyou.wangcong@gmail.com&gt;
Acked-by: Marcelo Ricardo Leitner &lt;marcelo.leitner@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vxlan: fix a shadow local variable</title>
<updated>2015-04-08T18:56:35+00:00</updated>
<author>
<name>WANG Cong</name>
<email>xiyou.wangcong@gmail.com</email>
</author>
<published>2015-04-08T17:17:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=2790460e145d198fe6925d405301a49b2d8cb03f'/>
<id>2790460e145d198fe6925d405301a49b2d8cb03f</id>
<content type='text'>
Commit 79b16aadea32cce077
("udp_tunnel: Pass UDP socket down through udp_tunnel{, 6}_xmit_skb()")
introduce 'sk' but we already have one inner 'sk'.

Cc: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Cong Wang &lt;xiyou.wangcong@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit 79b16aadea32cce077
("udp_tunnel: Pass UDP socket down through udp_tunnel{, 6}_xmit_skb()")
introduce 'sk' but we already have one inner 'sk'.

Cc: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Cong Wang &lt;xiyou.wangcong@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>udp_tunnel: Pass UDP socket down through udp_tunnel{, 6}_xmit_skb().</title>
<updated>2015-04-07T19:29:08+00:00</updated>
<author>
<name>David Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2015-04-06T02:19:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=79b16aadea32cce077acbe9e229fcb58a7801687'/>
<id>79b16aadea32cce077acbe9e229fcb58a7801687</id>
<content type='text'>
That was we can make sure the output path of ipv4/ipv6 operate on
the UDP socket rather than whatever random thing happens to be in
skb-&gt;sk.

Based upon a patch by Jiri Pirko.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Acked-by: Hannes Frederic Sowa &lt;hannes@stressinduktion.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
That was we can make sure the output path of ipv4/ipv6 operate on
the UDP socket rather than whatever random thing happens to be in
skb-&gt;sk.

Based upon a patch by Jiri Pirko.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Acked-by: Hannes Frederic Sowa &lt;hannes@stressinduktion.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vxlan: correct spelling in comments</title>
<updated>2015-04-02T02:52:29+00:00</updated>
<author>
<name>Simon Horman</name>
<email>simon.horman@netronome.com</email>
</author>
<published>2015-04-02T02:17:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=c4b495128c5d941607179f18ec07c36bd2a3fc38'/>
<id>c4b495128c5d941607179f18ec07c36bd2a3fc38</id>
<content type='text'>
Fix some spelling / typos:
* droppped -&gt; dropped
* asddress -&gt; address
* compatbility -&gt; compatibility

Signed-off-by: Simon Horman &lt;simon.horman@netronome.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix some spelling / typos:
* droppped -&gt; dropped
* asddress -&gt; address
* compatbility -&gt; compatibility

Signed-off-by: Simon Horman &lt;simon.horman@netronome.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>netlink: implement nla_get_in_addr and nla_get_in6_addr</title>
<updated>2015-03-31T17:58:35+00:00</updated>
<author>
<name>Jiri Benc</name>
<email>jbenc@redhat.com</email>
</author>
<published>2015-03-29T14:59:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=67b61f6c130a05b2cd4c3dfded49a751ff42c534'/>
<id>67b61f6c130a05b2cd4c3dfded49a751ff42c534</id>
<content type='text'>
Those are counterparts to nla_put_in_addr and nla_put_in6_addr.

Signed-off-by: Jiri Benc &lt;jbenc@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Those are counterparts to nla_put_in_addr and nla_put_in6_addr.

Signed-off-by: Jiri Benc &lt;jbenc@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>netlink: implement nla_put_in_addr and nla_put_in6_addr</title>
<updated>2015-03-31T17:58:35+00:00</updated>
<author>
<name>Jiri Benc</name>
<email>jbenc@redhat.com</email>
</author>
<published>2015-03-29T14:59:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=930345ea630405aa6e6f42efcb149c3f360a6b67'/>
<id>930345ea630405aa6e6f42efcb149c3f360a6b67</id>
<content type='text'>
IP addresses are often stored in netlink attributes. Add generic functions
to do that.

For nla_put_in_addr, it would be nicer to pass struct in_addr but this is
not used universally throughout the kernel, in way too many places __be32 is
used to store IPv4 address.

Signed-off-by: Jiri Benc &lt;jbenc@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
IP addresses are often stored in netlink attributes. Add generic functions
to do that.

For nla_put_in_addr, it would be nicer to pass struct in_addr but this is
not used universally throughout the kernel, in way too many places __be32 is
used to store IPv4 address.

Signed-off-by: Jiri Benc &lt;jbenc@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
</feed>
