<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/include/net/ip_vs.h, branch v2.6.39-rc7</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6</title>
<updated>2011-04-11T14:27:24+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2011-04-11T14:27:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c44eaf41a5a423993932c9a9ad279ee132779b48'/>
<id>c44eaf41a5a423993932c9a9ad279ee132779b48</id>
<content type='text'>
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (34 commits)
  net: Add support for SMSC LAN9530, LAN9730 and LAN89530
  mlx4_en: Restoring RX buffer pointer in case of failure
  mlx4: Sensing link type at device initialization
  ipv4: Fix "Set rt-&gt;rt_iif more sanely on output routes."
  MAINTAINERS: add entry for Xen network backend
  be2net: Fix suspend/resume operation
  be2net: Rename some struct members for clarity
  pppoe: drop PPPOX_ZOMBIEs in pppoe_flush_dev
  dsa/mv88e6131: add support for mv88e6085 switch
  ipv6: Enable RFS sk_rxhash tracking for ipv6 sockets (v2)
  be2net: Fix a potential crash during shutdown.
  bna: Fix for handling firmware heartbeat failure
  can: mcp251x: Allow pass IRQ flags through platform data.
  smsc911x: fix mac_lock acquision before calling smsc911x_mac_read
  iwlwifi: accept EEPROM version 0x423 for iwl6000
  rt2x00: fix cancelling uninitialized work
  rtlwifi: Fix some warnings/bugs
  p54usb: IDs for two new devices
  wl12xx: fix potential buffer overflow in testmode nvs push
  zd1211rw: reset rx idle timer from tasklet
  ...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (34 commits)
  net: Add support for SMSC LAN9530, LAN9730 and LAN89530
  mlx4_en: Restoring RX buffer pointer in case of failure
  mlx4: Sensing link type at device initialization
  ipv4: Fix "Set rt-&gt;rt_iif more sanely on output routes."
  MAINTAINERS: add entry for Xen network backend
  be2net: Fix suspend/resume operation
  be2net: Rename some struct members for clarity
  pppoe: drop PPPOX_ZOMBIEs in pppoe_flush_dev
  dsa/mv88e6131: add support for mv88e6085 switch
  ipv6: Enable RFS sk_rxhash tracking for ipv6 sockets (v2)
  be2net: Fix a potential crash during shutdown.
  bna: Fix for handling firmware heartbeat failure
  can: mcp251x: Allow pass IRQ flags through platform data.
  smsc911x: fix mac_lock acquision before calling smsc911x_mac_read
  iwlwifi: accept EEPROM version 0x423 for iwl6000
  rt2x00: fix cancelling uninitialized work
  rtlwifi: Fix some warnings/bugs
  p54usb: IDs for two new devices
  wl12xx: fix potential buffer overflow in testmode nvs push
  zd1211rw: reset rx idle timer from tasklet
  ...
</pre>
</div>
</content>
</entry>
<entry>
<title>IPVS: fix NULL ptr dereference in ip_vs_ctl.c ip_vs_genl_dump_daemons()</title>
<updated>2011-04-04T13:25:18+00:00</updated>
<author>
<name>Hans Schillstrom</name>
<email>hans.schillstrom@ericsson.com</email>
</author>
<published>2011-04-04T13:25:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a09d19779f3ffac6e16821accc2c1cc4df1b643a'/>
<id>a09d19779f3ffac6e16821accc2c1cc4df1b643a</id>
<content type='text'>
ipvsadm -ln --daemon will trigger a Null pointer exception because
ip_vs_genl_dump_daemons() uses skb_net() instead of skb_sknet().

To prevent others from NULL ptr a check is made in ip_vs.h skb_net().

Signed-off-by: Hans Schillstrom &lt;hans.schillstrom@ericsson.com&gt;
Signed-off-by: Simon Horman &lt;horms@verge.net.au&gt;
Signed-off-by: Patrick McHardy &lt;kaber@trash.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ipvsadm -ln --daemon will trigger a Null pointer exception because
ip_vs_genl_dump_daemons() uses skb_net() instead of skb_sknet().

To prevent others from NULL ptr a check is made in ip_vs.h skb_net().

Signed-off-by: Hans Schillstrom &lt;hans.schillstrom@ericsson.com&gt;
Signed-off-by: Simon Horman &lt;horms@verge.net.au&gt;
Signed-off-by: Patrick McHardy &lt;kaber@trash.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix common misspellings</title>
<updated>2011-03-31T14:26:23+00:00</updated>
<author>
<name>Lucas De Marchi</name>
<email>lucas.demarchi@profusion.mobi</email>
</author>
<published>2011-03-31T01:57:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=25985edcedea6396277003854657b5f3cb31a628'/>
<id>25985edcedea6396277003854657b5f3cb31a628</id>
<content type='text'>
Fixes generated by 'codespell' and manually reviewed.

Signed-off-by: Lucas De Marchi &lt;lucas.demarchi@profusion.mobi&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes generated by 'codespell' and manually reviewed.

Signed-off-by: Lucas De Marchi &lt;lucas.demarchi@profusion.mobi&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>IPVS: Use global mutex in ip_vs_app.c</title>
<updated>2011-03-22T03:39:24+00:00</updated>
<author>
<name>Simon Horman</name>
<email>horms@verge.net.au</email>
</author>
<published>2011-03-21T15:18:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=736561a01f11114146b1b7f82d486fa9c95828ef'/>
<id>736561a01f11114146b1b7f82d486fa9c95828ef</id>
<content type='text'>
As part of the work to make IPVS network namespace aware
__ip_vs_app_mutex was replaced by a per-namespace lock,
ipvs-&gt;app_mutex. ipvs-&gt;app_key is also supplied for debugging purposes.

Unfortunately this implementation results in ipvs-&gt;app_key residing
in non-static storage which at the very least causes a lockdep warning.

This patch takes the rather heavy-handed approach of reinstating
__ip_vs_app_mutex which will cover access to the ipvs-&gt;list_head
of all network namespaces.

[   12.610000] IPVS: Creating netns size=2456 id=0
[   12.630000] IPVS: Registered protocols (TCP, UDP, SCTP, AH, ESP)
[   12.640000] BUG: key ffff880003bbf1a0 not in .data!
[   12.640000] ------------[ cut here ]------------
[   12.640000] WARNING: at kernel/lockdep.c:2701 lockdep_init_map+0x37b/0x570()
[   12.640000] Hardware name: Bochs
[   12.640000] Pid: 1, comm: swapper Tainted: G        W 2.6.38-kexec-06330-g69b7efe-dirty #122
[   12.650000] Call Trace:
[   12.650000]  [&lt;ffffffff8102e685&gt;] warn_slowpath_common+0x75/0xb0
[   12.650000]  [&lt;ffffffff8102e6d5&gt;] warn_slowpath_null+0x15/0x20
[   12.650000]  [&lt;ffffffff8105967b&gt;] lockdep_init_map+0x37b/0x570
[   12.650000]  [&lt;ffffffff8105829d&gt;] ? trace_hardirqs_on+0xd/0x10
[   12.650000]  [&lt;ffffffff81055ad8&gt;] debug_mutex_init+0x38/0x50
[   12.650000]  [&lt;ffffffff8104bc4c&gt;] __mutex_init+0x5c/0x70
[   12.650000]  [&lt;ffffffff81685ee7&gt;] __ip_vs_app_init+0x64/0x86
[   12.660000]  [&lt;ffffffff81685a3b&gt;] ? ip_vs_init+0x0/0xff
[   12.660000]  [&lt;ffffffff811b1c33&gt;] T.620+0x43/0x170
[   12.660000]  [&lt;ffffffff811b1e9a&gt;] ? register_pernet_subsys+0x1a/0x40
[   12.660000]  [&lt;ffffffff81685a3b&gt;] ? ip_vs_init+0x0/0xff
[   12.660000]  [&lt;ffffffff81685a3b&gt;] ? ip_vs_init+0x0/0xff
[   12.660000]  [&lt;ffffffff811b1db7&gt;] register_pernet_operations+0x57/0xb0
[   12.660000]  [&lt;ffffffff81685a3b&gt;] ? ip_vs_init+0x0/0xff
[   12.670000]  [&lt;ffffffff811b1ea9&gt;] register_pernet_subsys+0x29/0x40
[   12.670000]  [&lt;ffffffff81685f19&gt;] ip_vs_app_init+0x10/0x12
[   12.670000]  [&lt;ffffffff81685a87&gt;] ip_vs_init+0x4c/0xff
[   12.670000]  [&lt;ffffffff8166562c&gt;] do_one_initcall+0x7a/0x12e
[   12.670000]  [&lt;ffffffff8166583e&gt;] kernel_init+0x13e/0x1c2
[   12.670000]  [&lt;ffffffff8128c134&gt;] kernel_thread_helper+0x4/0x10
[   12.670000]  [&lt;ffffffff8128ad40&gt;] ? restore_args+0x0/0x30
[   12.680000]  [&lt;ffffffff81665700&gt;] ? kernel_init+0x0/0x1c2
[   12.680000]  [&lt;ffffffff8128c130&gt;] ? kernel_thread_helper+0x0/0x1global0

Signed-off-by: Simon Horman &lt;horms@verge.net.au&gt;
Cc: Ingo Molnar &lt;mingo@elte.hu&gt;
Cc: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
Cc: Julian Anastasov &lt;ja@ssi.bg&gt;
Cc: Hans Schillstrom &lt;hans@schillstrom.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>
As part of the work to make IPVS network namespace aware
__ip_vs_app_mutex was replaced by a per-namespace lock,
ipvs-&gt;app_mutex. ipvs-&gt;app_key is also supplied for debugging purposes.

Unfortunately this implementation results in ipvs-&gt;app_key residing
in non-static storage which at the very least causes a lockdep warning.

This patch takes the rather heavy-handed approach of reinstating
__ip_vs_app_mutex which will cover access to the ipvs-&gt;list_head
of all network namespaces.

[   12.610000] IPVS: Creating netns size=2456 id=0
[   12.630000] IPVS: Registered protocols (TCP, UDP, SCTP, AH, ESP)
[   12.640000] BUG: key ffff880003bbf1a0 not in .data!
[   12.640000] ------------[ cut here ]------------
[   12.640000] WARNING: at kernel/lockdep.c:2701 lockdep_init_map+0x37b/0x570()
[   12.640000] Hardware name: Bochs
[   12.640000] Pid: 1, comm: swapper Tainted: G        W 2.6.38-kexec-06330-g69b7efe-dirty #122
[   12.650000] Call Trace:
[   12.650000]  [&lt;ffffffff8102e685&gt;] warn_slowpath_common+0x75/0xb0
[   12.650000]  [&lt;ffffffff8102e6d5&gt;] warn_slowpath_null+0x15/0x20
[   12.650000]  [&lt;ffffffff8105967b&gt;] lockdep_init_map+0x37b/0x570
[   12.650000]  [&lt;ffffffff8105829d&gt;] ? trace_hardirqs_on+0xd/0x10
[   12.650000]  [&lt;ffffffff81055ad8&gt;] debug_mutex_init+0x38/0x50
[   12.650000]  [&lt;ffffffff8104bc4c&gt;] __mutex_init+0x5c/0x70
[   12.650000]  [&lt;ffffffff81685ee7&gt;] __ip_vs_app_init+0x64/0x86
[   12.660000]  [&lt;ffffffff81685a3b&gt;] ? ip_vs_init+0x0/0xff
[   12.660000]  [&lt;ffffffff811b1c33&gt;] T.620+0x43/0x170
[   12.660000]  [&lt;ffffffff811b1e9a&gt;] ? register_pernet_subsys+0x1a/0x40
[   12.660000]  [&lt;ffffffff81685a3b&gt;] ? ip_vs_init+0x0/0xff
[   12.660000]  [&lt;ffffffff81685a3b&gt;] ? ip_vs_init+0x0/0xff
[   12.660000]  [&lt;ffffffff811b1db7&gt;] register_pernet_operations+0x57/0xb0
[   12.660000]  [&lt;ffffffff81685a3b&gt;] ? ip_vs_init+0x0/0xff
[   12.670000]  [&lt;ffffffff811b1ea9&gt;] register_pernet_subsys+0x29/0x40
[   12.670000]  [&lt;ffffffff81685f19&gt;] ip_vs_app_init+0x10/0x12
[   12.670000]  [&lt;ffffffff81685a87&gt;] ip_vs_init+0x4c/0xff
[   12.670000]  [&lt;ffffffff8166562c&gt;] do_one_initcall+0x7a/0x12e
[   12.670000]  [&lt;ffffffff8166583e&gt;] kernel_init+0x13e/0x1c2
[   12.670000]  [&lt;ffffffff8128c134&gt;] kernel_thread_helper+0x4/0x10
[   12.670000]  [&lt;ffffffff8128ad40&gt;] ? restore_args+0x0/0x30
[   12.680000]  [&lt;ffffffff81665700&gt;] ? kernel_init+0x0/0x1c2
[   12.680000]  [&lt;ffffffff8128c130&gt;] ? kernel_thread_helper+0x0/0x1global0

Signed-off-by: Simon Horman &lt;horms@verge.net.au&gt;
Cc: Ingo Molnar &lt;mingo@elte.hu&gt;
Cc: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
Cc: Julian Anastasov &lt;ja@ssi.bg&gt;
Cc: Hans Schillstrom &lt;hans@schillstrom.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>IPVS: Conditionally include sysctl members of struct netns_ipvs</title>
<updated>2011-03-15T00:37:02+00:00</updated>
<author>
<name>Simon Horman</name>
<email>horms@verge.net.au</email>
</author>
<published>2011-02-04T09:33:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f2247fbdc41372d64c89505280419ceb45d80a31'/>
<id>f2247fbdc41372d64c89505280419ceb45d80a31</id>
<content type='text'>
There is now no need to include sysctl members of struct netns_ipvs
unless CONFIG_SYSCTL is defined.

Signed-off-by: Simon Horman &lt;horms@verge.net.au&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There is now no need to include sysctl members of struct netns_ipvs
unless CONFIG_SYSCTL is defined.

Signed-off-by: Simon Horman &lt;horms@verge.net.au&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>IPVS: Conditional ip_vs_conntrack_enabled()</title>
<updated>2011-03-15T00:37:00+00:00</updated>
<author>
<name>Simon Horman</name>
<email>horms@verge.net.au</email>
</author>
<published>2011-02-04T09:33:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a4e2f5a700cb93448b2da0e158149d18dc5290ef'/>
<id>a4e2f5a700cb93448b2da0e158149d18dc5290ef</id>
<content type='text'>
ip_vs_conntrack_enabled() becomes a noop when CONFIG_SYSCTL is undefined.

In preparation for not including sysctl_conntrack in
struct netns_ipvs when CONFIG_SYCTL is not defined.

Signed-off-by: Simon Horman &lt;horms@verge.net.au&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ip_vs_conntrack_enabled() becomes a noop when CONFIG_SYSCTL is undefined.

In preparation for not including sysctl_conntrack in
struct netns_ipvs when CONFIG_SYCTL is not defined.

Signed-off-by: Simon Horman &lt;horms@verge.net.au&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>IPVS: ip_vs_todrop() becomes a noop when CONFIG_SYSCTL is undefined</title>
<updated>2011-03-15T00:36:59+00:00</updated>
<author>
<name>Simon Horman</name>
<email>horms@verge.net.au</email>
</author>
<published>2011-02-04T09:33:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=3a1bbf1885e94ecedf1deaaab1ace8409330aa7e'/>
<id>3a1bbf1885e94ecedf1deaaab1ace8409330aa7e</id>
<content type='text'>
Signed-off-by: Simon Horman &lt;horms@verge.net.au&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Simon Horman &lt;horms@verge.net.au&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>IPVS: Add sysctl_sync_ver()</title>
<updated>2011-03-15T00:36:57+00:00</updated>
<author>
<name>Simon Horman</name>
<email>horms@verge.net.au</email>
</author>
<published>2011-02-04T09:33:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=7532e8d40ccfdde6667169eeac4fd7778d6eb462'/>
<id>7532e8d40ccfdde6667169eeac4fd7778d6eb462</id>
<content type='text'>
In preparation for not including sysctl_sync_ver in
struct netns_ipvs when CONFIG_SYCTL is not defined.

Signed-off-by: Simon Horman &lt;horms@verge.net.au&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In preparation for not including sysctl_sync_ver in
struct netns_ipvs when CONFIG_SYCTL is not defined.

Signed-off-by: Simon Horman &lt;horms@verge.net.au&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>IPVS: Add {sysctl_sync_threshold,period}()</title>
<updated>2011-03-15T00:36:57+00:00</updated>
<author>
<name>Simon Horman</name>
<email>horms@verge.net.au</email>
</author>
<published>2011-02-04T09:33:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=59e0350eada0516a810cb780db37746165f1d516'/>
<id>59e0350eada0516a810cb780db37746165f1d516</id>
<content type='text'>
In preparation for not including sysctl_sync_threshold in
struct netns_ipvs when CONFIG_SYCTL is not defined.

Signed-off-by: Simon Horman &lt;horms@verge.net.au&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In preparation for not including sysctl_sync_threshold in
struct netns_ipvs when CONFIG_SYCTL is not defined.

Signed-off-by: Simon Horman &lt;horms@verge.net.au&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ipvs: rename estimator functions</title>
<updated>2011-03-15T00:36:54+00:00</updated>
<author>
<name>Julian Anastasov</name>
<email>ja@ssi.bg</email>
</author>
<published>2011-03-13T23:44:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=6ef757f965c9133e82116475eab7f30df391c7fa'/>
<id>6ef757f965c9133e82116475eab7f30df391c7fa</id>
<content type='text'>
 	Rename ip_vs_new_estimator to ip_vs_start_estimator
and ip_vs_kill_estimator to ip_vs_stop_estimator to better
match their logic.

Signed-off-by: Julian Anastasov &lt;ja@ssi.bg&gt;
Signed-off-by: Simon Horman &lt;horms@verge.net.au&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 	Rename ip_vs_new_estimator to ip_vs_start_estimator
and ip_vs_kill_estimator to ip_vs_stop_estimator to better
match their logic.

Signed-off-by: Julian Anastasov &lt;ja@ssi.bg&gt;
Signed-off-by: Simon Horman &lt;horms@verge.net.au&gt;
</pre>
</div>
</content>
</entry>
</feed>
