<feed xmlns='http://www.w3.org/2005/Atom'>
<title>teythoon/hurd.git/pfinet/linux-src/net/ipv4, branch master</title>
<subtitle>Personal Hurd development repository</subtitle>
<id>https://darnassus.sceen.net/cgit/teythoon/hurd.git/atom?h=master</id>
<link rel='self' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/'/>
<updated>2016-01-02T17:48:57Z</updated>
<entry>
<title>allow pfinet to link using -O0</title>
<updated>2016-01-02T17:48:57Z</updated>
<author>
<name>Flavio Cruz</name>
<email>flaviocruz@gmail.com</email>
</author>
<published>2016-01-02T17:38:31Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=05e6878c8767cf7006675d5e5a646b2f74aa88c7'/>
<id>urn:sha1:05e6878c8767cf7006675d5e5a646b2f74aa88c7</id>
<content type='text'>
This fixes a long list of undefined references when compiling with -O0
by using static instead of extern in header files.
</content>
</entry>
<entry>
<title>Allow dhcp trafic and configuration</title>
<updated>2015-02-02T10:10:48Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2015-02-02T10:10:48Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=2be6756dbbdd400b1734ee014aa1518201271482'/>
<id>urn:sha1:2be6756dbbdd400b1734ee014aa1518201271482</id>
<content type='text'>
2007-10-14  Christian Dietrich  &lt;stettberger@dokucode.de&gt;

	* options.c (options): Marked -a, -g -m, -p, -A, -G
	OPTION_ARG_OPTIONAL.
	(parse_interface_copy_device): New function.
	(parse_opt): When selecting another interface with -i
	set the options from e.g. a prior fsysopts call as default
	values. For -a, -g, -p, -g, -A, -G set the optional
	argument as value. When there is no argument, delete the
	value (e.g. unset default gateway). Delete delete default gateways
	only if the set gateway is on an interface modified in this call.
	Add always an route for dhcp packages on all devices. By doing
	this we can send dhcp renew packages.
	(trivfs_append_args): Add --gateway only once.

2007-10-14  Marco Gerards  &lt;metgerards@student.han.nl&gt;

        * options.c (parse_opt): Add the route for `0.0.0.0' so broadcasting
        works.

	* linux-src/net/ipv4/devinet.c (inet_insert_ifa) [_HURD_]: Don't
	fail when the address is `0.0.0.0'.
</content>
</entry>
<entry>
<title>Backport Linux changes for proper TCP EOF handling</title>
<updated>2015-01-03T16:44:01Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2015-01-03T16:44:01Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=87fad50310f2bd0dcc990e80e23b09768918cf5b'/>
<id>urn:sha1:87fad50310f2bd0dcc990e80e23b09768918cf5b</id>
<content type='text'>
Notably when remote eagerly sends a RST: we want to return EOF to the
application, not EPIPE.

* pfinet/linux-src/net/ipv4/tcp_output.c (tcp_connect): Set sk-&gt;done to 0.
* pfinet/linux-src/net/ipv4/tcp_input.c (tcp_fin): Set RCV_SHUTDOWN, and
sk-&gt;done to 1.
* pfinet/linux-src/net/ipv4/tcp.c (tcp_recv_urg): Only return ENOTCONN when
we never actually connect.  Always return 0 when reception is closed.
(tcp_recvmsg): When any data is available, ignore errors and EOF.  When no
data is available, first check for reception being closed, then for errors.
</content>
</entry>
<entry>
<title>BSD apps want sin_zero cleared in sys_getname.</title>
<updated>2014-09-28T14:08:01Z</updated>
<author>
<name>Alexey Kuznetsov</name>
<email>kuznet@ms2.inr.ac.ru</email>
</author>
<published>2014-09-28T14:05:17Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=1a22019e6a86d0636f9847f8891f280facd2fd22'/>
<id>urn:sha1:1a22019e6a86d0636f9847f8891f280facd2fd22</id>
<content type='text'>
Cherry-picked from Linux c1e9dcb37795b08a1f50b8de7b2ad5efcb15728f

* pfinet/linux-src/net/ipv4/af_inet.c (inet_getname): Clear `sin_zero'
part of `sin'.
</content>
</entry>
<entry>
<title>Avoid compiler warning about empty bodies</title>
<updated>2014-05-26T09:18:13Z</updated>
<author>
<name>Justus Winter</name>
<email>4winter@informatik.uni-hamburg.de</email>
</author>
<published>2014-05-20T14:07:44Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=1333bbbcc18502328cdd78b2aadc526ebd552a77'/>
<id>urn:sha1:1333bbbcc18502328cdd78b2aadc526ebd552a77</id>
<content type='text'>
Make empty bodies of control flow statements more explicit.  Doing so
will allow us to use stricter compiler settings.  This would have
cought 4ece292c.

* console-client/xkb/xkb.c: Make empty bodies more explicit
* libpipe/pipe.c: Likewise.
* mach-defpager/default_pager.c: Likewise.
* pfinet/linux-src/net/ipv4/fib_hash.c: Likewise.
* pflocal/connq.c: Likewise.
* pflocal/socket.c: Likewise.
</content>
</entry>
<entry>
<title>Normalize whitespace at the end of each file to '\n'</title>
<updated>2013-11-09T13:47:24Z</updated>
<author>
<name>Justus Winter</name>
<email>4winter@informatik.uni-hamburg.de</email>
</author>
<published>2013-11-08T10:26:42Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=057c04d1157322c235872e412bcc22487858c5af'/>
<id>urn:sha1:057c04d1157322c235872e412bcc22487858c5af</id>
<content type='text'>
Some files were not normalized. In console/motd.UTF8 the additional
newline is intentional. Empty files were excluded as well.
</content>
</entry>
<entry>
<title>pfinet: Fix call to kfree_s</title>
<updated>2013-07-20T15:06:25Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2013-07-20T15:06:25Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=e848c0dee50ba029083d8a83a38d1c4536d37362'/>
<id>urn:sha1:e848c0dee50ba029083d8a83a38d1c4536d37362</id>
<content type='text'>
kfree_s expects a pointer and a size argument. Currently the
sizeof(cache) is used as size argument, this is certainly not what was
intented.

For reference, this code was present in Linux up to version 2.3.14 and
was replaced in 2.3.15.

Found using coccinelle and
https://raw.github.com/coccinelle/coccinellery/master/sz/sz.cocci.

* pfinet/linux-src/net/ipv4/ipmr.c (ipmr_cache_delete): Fix kfree_s call.
</content>
</entry>
<entry>
<title>[IPV6]: Add IPV6_V6ONLY socket option support.</title>
<updated>2013-01-13T15:26:51Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2013-01-13T15:23:35Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=2b2d7fdc42475019e5ce3eabc9c9673e3c13d89f'/>
<id>urn:sha1:2b2d7fdc42475019e5ce3eabc9c9673e3c13d89f</id>
<content type='text'>
Cherry-picked from Linux 524354b4d086a4f013343d727eaccb7b4c39eb25

* pfinet/glue-include/linux/ipv6.h: Include linux/config.h&gt;
(__ipv6_only_sock, ipv6_only_sock): New macros
* pfinet/linux-src/include/linux/ipv6.h: Likewise.
* pfinet/linux-src/include/linux/in6.h (IPV6_V6ONLY): New macro.
* pfinet/linux-src/include/linux/sysctl.h (NET_IPV6_BINDV6ONLY): New macro.
* pfinet/linux-src/include/net/ipv6.h (sysctl_ipv6_bindv6only): Declare
variable.
* pfinet/linux-src/include/net/sock.h (ipv6_pinfo): Add ipv6only field.
* pfinet/linux-src/net/ipv4/tcp_ipv4.c: Include linux/ipv6.h.
(tcp_v4_get_port, tcp_v4_lookup_listener): Test for ipv6_only_sock.
* pfinet/linux-src/net/ipv4/udp.c: Include linux/ipv6.h.
(udp_v4_get_port, udp_v4_lookup_longway, udp_v4_mcast_next): Test for
ipv6_only_sock.
* pfinet/linux-src/net/ipv6/af_inet6.c (sysctl_ipv6_bindv6only): New
variable.
(inet6_create): Initialize ipv6only field to sysctl_ipv6_bindv6only.
* pfinet/linux-src/net/ipv6/ipv6_sockglue.c (ipv6_setsockopt): Test for
ipv6_only_sock.
(ipv6_setsockopt, ipv6_getsockopt): Support IPV6_V6ONLY case.
* pfinet/linux-src/net/ipv6/tcp_ipv6.c (ipv6_rcv_saddr_equal): New inline
function.
(tcp_v6_get_port): Replace old tests with ipv6_rcv_saddr_equal.
(tcp_v6_connect): Test for __ipv6_only_sock.
* pfinet/linux-src/net/ipv6/udp_ipv6.c (udv6_rcv_saddr_equal): New inline
function.
(udp_v6_get_port): Replace old tests with udv6_rcv_saddr_equal.
(udpv6_connect, udpv6_sendmsg): Test for __ipv6_only_sock.
</content>
</entry>
<entry>
<title>pfinet: increase local port range</title>
<updated>2012-12-06T23:20:15Z</updated>
<author>
<name>Richard Braun</name>
<email>rbraun@sceen.net</email>
</author>
<published>2012-12-06T23:16:54Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=23c9bbee12b08bcbc82188dabe3bf8135756c183'/>
<id>urn:sha1:23c9bbee12b08bcbc82188dabe3bf8135756c183</id>
<content type='text'>
* pfinet/linux-src/net/ipv4/tcp_ipv4.c (sysctl_local_port_range): Set port
range to 32768-61000.
</content>
</entry>
<entry>
<title>fix common misspellings</title>
<updated>2011-08-20T16:36:33Z</updated>
<author>
<name>Jonathan Neuschäfer</name>
<email>j.neuschaefer@gmx.net</email>
</author>
<published>2011-08-15T20:10:09Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=c0eaf0fad88f15c843098a43ca2cadbf009ce094'/>
<id>urn:sha1:c0eaf0fad88f15c843098a43ca2cadbf009ce094</id>
<content type='text'>
 * Fix spelling with codespell[1] and manually review it.

[1] http://git.profusion.mobi/cgit.cgi/lucas/codespell/
</content>
</entry>
</feed>
