<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-linux/net/ipv4/ipvs/ip_vs_sync.c, branch stable</title>
<subtitle>WireGuard for the Linux kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-linux/atom/net/ipv4/ipvs/ip_vs_sync.c?h=stable</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-linux/atom/net/ipv4/ipvs/ip_vs_sync.c?h=stable'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/'/>
<updated>2008-10-06T21:38:24Z</updated>
<entry>
<title>IPVS: Move IPVS to net/netfilter/ipvs</title>
<updated>2008-10-06T21:38:24Z</updated>
<author>
<name>Julius Volz</name>
<email>juliusv@google.com</email>
</author>
<published>2008-09-19T10:32:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=cb7f6a7b716e801097b564dec3ccb58d330aef56'/>
<id>urn:sha1:cb7f6a7b716e801097b564dec3ccb58d330aef56</id>
<content type='text'>
Since IPVS now has partial IPv6 support, this patch moves IPVS from
net/ipv4/ipvs to net/netfilter/ipvs. It's a result of:

$ git mv net/ipv4/ipvs net/netfilter

and adapting the relevant Kconfigs/Makefiles to the new path.

Signed-off-by: Julius Volz &lt;juliusv@google.com&gt;
Signed-off-by: Simon Horman &lt;horms@verge.net.au&gt;
</content>
</entry>
<entry>
<title>ipvs: Restrict sync message to 255 connections</title>
<updated>2008-09-21T23:55:58Z</updated>
<author>
<name>Sven Wegener</name>
<email>sven.wegener@stealer.net</email>
</author>
<published>2008-09-19T18:41:56Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=e6f225ebb7c35fe30fdf8608927c5cf8fce6de7d'/>
<id>urn:sha1:e6f225ebb7c35fe30fdf8608927c5cf8fce6de7d</id>
<content type='text'>
The nr_conns variable in the sync message header is only eight bits wide
and will overflow on interfaces with a large MTU. As a result the backup
won't parse all connections contained in the sync buffer. On regular
ethernet with an MTU of 1500 this isn't a problem, because we can't
overflow the value, but consider jumbo frames being used on a cross-over
connection between both directors.

We now restrict the size of the sync buffer, so that we never put more
than 255 connections into a single sync buffer.

Signed-off-by: Sven Wegener &lt;sven.wegener@stealer.net&gt;
Signed-off-by: Simon Horman &lt;horms@verge.net.au&gt;
</content>
</entry>
<entry>
<title>ipvs: Use pointer to address from sync message</title>
<updated>2008-09-07T23:34:43Z</updated>
<author>
<name>Sven Wegener</name>
<email>sven.wegener@stealer.net</email>
</author>
<published>2008-09-05T11:46:00Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=cd9fe6c4f0afe334862c871bf5d32770daa748ec'/>
<id>urn:sha1:cd9fe6c4f0afe334862c871bf5d32770daa748ec</id>
<content type='text'>
We want a pointer to it, not the value casted to a pointer.

Signed-off-by: Sven Wegener &lt;sven.wegener@stealer.net&gt;
Acked-by: Julius Volz &lt;juliusv@google.com&gt;
Signed-off-by: Simon Horman &lt;horms@verge.net.au&gt;
</content>
</entry>
<entry>
<title>IPVS: Convert real server lookup functions</title>
<updated>2008-09-05T01:17:10Z</updated>
<author>
<name>Julius Volz</name>
<email>juliusv@google.com</email>
</author>
<published>2008-09-02T13:55:48Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=7937df1564783806c285d34a1c6fd63d8da29d7a'/>
<id>urn:sha1:7937df1564783806c285d34a1c6fd63d8da29d7a</id>
<content type='text'>
Convert functions for looking up destinations (real servers) to support
IPv6 services/dests.

Signed-off-by: Julius Volz &lt;juliusv@google.com&gt;
Signed-off-by: Simon Horman &lt;horms@verge.net.au&gt;
</content>
</entry>
<entry>
<title>IPVS: Extend functions for getting/creating connections</title>
<updated>2008-09-05T01:17:08Z</updated>
<author>
<name>Julius Volz</name>
<email>juliusv@google.com</email>
</author>
<published>2008-09-02T13:55:43Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=28364a59f3dfe7fed3560ec7aff9b7aeb02824fb'/>
<id>urn:sha1:28364a59f3dfe7fed3560ec7aff9b7aeb02824fb</id>
<content type='text'>
Extend functions for getting/creating connections and connection
templates for IPv6 support and fix the callers.

Signed-off-by: Julius Volz &lt;juliusv@google.com&gt;
Signed-off-by: Simon Horman &lt;horms@verge.net.au&gt;
</content>
</entry>
<entry>
<title>IPVS: Change IPVS data structures to support IPv6 addresses</title>
<updated>2008-09-05T01:17:03Z</updated>
<author>
<name>Julius Volz</name>
<email>juliusv@google.com</email>
</author>
<published>2008-09-02T13:55:33Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=e7ade46a53055c19a01c8becbe7807f9075d6fee'/>
<id>urn:sha1:e7ade46a53055c19a01c8becbe7807f9075d6fee</id>
<content type='text'>
Introduce new 'af' fields into IPVS data structures for specifying an
entry's address family. Convert IP addresses to be of type union
nf_inet_addr.

Signed-off-by: Julius Volz &lt;juliusv@google.com&gt;
Signed-off-by: Simon Horman &lt;horms@verge.net.au&gt;
</content>
</entry>
<entry>
<title>ipvs: Fix possible deadlock in sync code</title>
<updated>2008-08-11T09:44:38Z</updated>
<author>
<name>Sven Wegener</name>
<email>sven.wegener@stealer.net</email>
</author>
<published>2008-08-10T09:14:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=bc0fde2fad007a81ecffceb25a893a6c3f1ed767'/>
<id>urn:sha1:bc0fde2fad007a81ecffceb25a893a6c3f1ed767</id>
<content type='text'>
Commit 998e7a76804b7a273a0460c2cdd5a51fa9856717 ("ipvs: Use kthread_run()
instead of doing a double-fork via kernel_thread()") introduced a possible
deadlock in the sync code. We need to use the _bh versions for the lock, as the
lock is also accessed from a bottom half.

Signed-off-by: Sven Wegener &lt;sven.wegener@stealer.net&gt;
Acked-by: Simon Horman &lt;horms@verge.net.au&gt;
</content>
</entry>
<entry>
<title>ipvs: Use schedule_timeout_interruptible() instead of msleep_interruptible()</title>
<updated>2008-07-16T22:33:20Z</updated>
<author>
<name>Sven Wegener</name>
<email>sven.wegener@stealer.net</email>
</author>
<published>2008-07-16T11:14:03Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=375c6bbabf210ded3151481ca1ac7f730903512b'/>
<id>urn:sha1:375c6bbabf210ded3151481ca1ac7f730903512b</id>
<content type='text'>
So that kthread_stop() can wake up the thread and we don't have to wait one
second in the worst case for the daemon to actually stop.

Signed-off-by: Sven Wegener &lt;sven.wegener@stealer.net&gt;
Acked-by: Simon Horman &lt;horms@verge.net.au&gt;
</content>
</entry>
<entry>
<title>ipvs: Put backup thread on mcast socket wait queue</title>
<updated>2008-07-16T22:33:20Z</updated>
<author>
<name>Sven Wegener</name>
<email>sven.wegener@stealer.net</email>
</author>
<published>2008-07-16T11:13:56Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=ba6fd85021dec97d58373d9aea4bea8fc24258be'/>
<id>urn:sha1:ba6fd85021dec97d58373d9aea4bea8fc24258be</id>
<content type='text'>
Instead of doing an endless loop with sleeping for one second, we now put the
backup thread onto the mcast socket wait queue and it gets woken up as soon as
we have data to process.

Signed-off-by: Sven Wegener &lt;sven.wegener@stealer.net&gt;
Acked-by: Simon Horman &lt;horms@verge.net.au&gt;
</content>
</entry>
<entry>
<title>ipvs: Use kthread_run() instead of doing a double-fork via kernel_thread()</title>
<updated>2008-07-16T22:33:20Z</updated>
<author>
<name>Sven Wegener</name>
<email>sven.wegener@stealer.net</email>
</author>
<published>2008-07-16T11:13:50Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=998e7a76804b7a273a0460c2cdd5a51fa9856717'/>
<id>urn:sha1:998e7a76804b7a273a0460c2cdd5a51fa9856717</id>
<content type='text'>
This also moves the setup code out of the daemons, so that we're able to
return proper error codes to user space. The current code will return success
to user space when the daemon is started with an invald mcast interface. With
these changes we get an appropriate "No such device" error.

We longer need our own completion to be sure the daemons are actually running,
because they no longer contain code that can fail and kthread_run() takes care
of the rest.

Signed-off-by: Sven Wegener &lt;sven.wegener@stealer.net&gt;
Acked-by: Simon Horman &lt;horms@verge.net.au&gt;
</content>
</entry>
</feed>
