<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/include/net/ip_vs.h, branch v2.6.39</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v2.6.39</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.39'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2011-05-10T07:52:47Z</updated>
<entry>
<title>IPVS: init and cleanup restructuring</title>
<updated>2011-05-10T07:52:47Z</updated>
<author>
<name>Hans Schillstrom</name>
<email>hans@schillstrom.com</email>
</author>
<published>2011-05-03T20:09:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7a4f0761fce32ff4918a7c23b08db564ad33092d'/>
<id>urn:sha1:7a4f0761fce32ff4918a7c23b08db564ad33092d</id>
<content type='text'>
DESCRIPTION
This patch tries to restore the initial init and cleanup
sequences that was before namspace patch.
Netns also requires action when net devices unregister
which has never been implemented. I.e this patch also
covers when a device moves into a network namespace,
and has to be released.

IMPLEMENTATION
The number of calls to register_pernet_device have been
reduced to one for the ip_vs.ko
Schedulers still have their own calls.

This patch adds a function __ip_vs_service_cleanup()
and an enable flag for the netfilter hooks.

The nf hooks will be enabled when the first service is loaded
and never disabled again, except when a namespace exit starts.

Signed-off-by: Hans Schillstrom &lt;hans@schillstrom.com&gt;
Acked-by: Julian Anastasov &lt;ja@ssi.bg&gt;
[horms@verge.net.au: minor edit to changelog]
Signed-off-by: Simon Horman &lt;horms@verge.net.au&gt;
</content>
</entry>
<entry>
<title>Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6</title>
<updated>2011-04-11T14:27:24Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2011-04-11T14:27:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c44eaf41a5a423993932c9a9ad279ee132779b48'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>IPVS: fix NULL ptr dereference in ip_vs_ctl.c ip_vs_genl_dump_daemons()</title>
<updated>2011-04-04T13:25:18Z</updated>
<author>
<name>Hans Schillstrom</name>
<email>hans.schillstrom@ericsson.com</email>
</author>
<published>2011-04-04T13:25:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a09d19779f3ffac6e16821accc2c1cc4df1b643a'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>Fix common misspellings</title>
<updated>2011-03-31T14:26:23Z</updated>
<author>
<name>Lucas De Marchi</name>
<email>lucas.demarchi@profusion.mobi</email>
</author>
<published>2011-03-31T01:57:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=25985edcedea6396277003854657b5f3cb31a628'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>IPVS: Use global mutex in ip_vs_app.c</title>
<updated>2011-03-22T03:39:24Z</updated>
<author>
<name>Simon Horman</name>
<email>horms@verge.net.au</email>
</author>
<published>2011-03-21T15:18:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=736561a01f11114146b1b7f82d486fa9c95828ef'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>IPVS: Conditionally include sysctl members of struct netns_ipvs</title>
<updated>2011-03-15T00:37:02Z</updated>
<author>
<name>Simon Horman</name>
<email>horms@verge.net.au</email>
</author>
<published>2011-02-04T09:33:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f2247fbdc41372d64c89505280419ceb45d80a31'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>IPVS: Conditional ip_vs_conntrack_enabled()</title>
<updated>2011-03-15T00:37:00Z</updated>
<author>
<name>Simon Horman</name>
<email>horms@verge.net.au</email>
</author>
<published>2011-02-04T09:33:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a4e2f5a700cb93448b2da0e158149d18dc5290ef'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>IPVS: ip_vs_todrop() becomes a noop when CONFIG_SYSCTL is undefined</title>
<updated>2011-03-15T00:36:59Z</updated>
<author>
<name>Simon Horman</name>
<email>horms@verge.net.au</email>
</author>
<published>2011-02-04T09:33:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3a1bbf1885e94ecedf1deaaab1ace8409330aa7e'/>
<id>urn:sha1:3a1bbf1885e94ecedf1deaaab1ace8409330aa7e</id>
<content type='text'>
Signed-off-by: Simon Horman &lt;horms@verge.net.au&gt;
</content>
</entry>
<entry>
<title>IPVS: Add sysctl_sync_ver()</title>
<updated>2011-03-15T00:36:57Z</updated>
<author>
<name>Simon Horman</name>
<email>horms@verge.net.au</email>
</author>
<published>2011-02-04T09:33:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7532e8d40ccfdde6667169eeac4fd7778d6eb462'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>IPVS: Add {sysctl_sync_threshold,period}()</title>
<updated>2011-03-15T00:36:57Z</updated>
<author>
<name>Simon Horman</name>
<email>horms@verge.net.au</email>
</author>
<published>2011-02-04T09:33:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=59e0350eada0516a810cb780db37746165f1d516'/>
<id>urn:sha1: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>
</entry>
</feed>
