<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/netinet/ip_gre.c, branch jd/simplify-queueing</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/netinet/ip_gre.c?h=jd%2Fsimplify-queueing</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/netinet/ip_gre.c?h=jd%2Fsimplify-queueing'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2018-02-07T22:30:59Z</updated>
<entry>
<title>update the gre driver.</title>
<updated>2018-02-07T22:30:59Z</updated>
<author>
<name>dlg</name>
<email>dlg@openbsd.org</email>
</author>
<published>2018-02-07T22:30:59Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=93b1bb5ed3171e840a827ca84b1626b41fefce81'/>
<id>urn:sha1:93b1bb5ed3171e840a827ca84b1626b41fefce81</id>
<content type='text'>
the main new feature is gre keys, supported by the vnetid ioctls.
this also adds support for gre over ipv6, the use of hfsc, and
allows tx mitigation in the future.

this diff removes keepalive support, but i promised claudio@ and
patrick@ i would put it back after this goes in.

ok claudio@
</content>
</entry>
<entry>
<title>split mobileip(4) out from the gre(4) driver.</title>
<updated>2018-02-07T01:09:57Z</updated>
<author>
<name>dlg</name>
<email>dlg@openbsd.org</email>
</author>
<published>2018-02-07T01:09:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=611118cf489a5a52cfe34aeeb1826120cb46f164'/>
<id>urn:sha1:611118cf489a5a52cfe34aeeb1826120cb46f164</id>
<content type='text'>
having mobileip in gre makes it hard to cut gre up. the current mobileip
code is also broken, so this is def and improvement. it also makes it
easy to disable and remove mobileip in the future.

ok claudio@ henning@
</content>
</entry>
<entry>
<title>make mpls_input take a struct ifnet *ifp argument.</title>
<updated>2018-01-09T06:24:14Z</updated>
<author>
<name>dlg</name>
<email>dlg@openbsd.org</email>
</author>
<published>2018-01-09T06:24:14Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=5c53b9324545b7febab2dcf52402199d72b231d3'/>
<id>urn:sha1:5c53b9324545b7febab2dcf52402199d72b231d3</id>
<content type='text'>
this makes it like all our other protocol family input functions.

mpls_input always looks up the interface the mbuf was received on,
but it's always called by code that already has a reference to that
interface anyway. the result of this is a few less if_get/if_put
calls.

ok mpi@ bluhm@ visa@ claudio@
</content>
</entry>
<entry>
<title>Sprinkle some NET_ASSERT_LOCKED(), const and co to prepare running</title>
<updated>2017-11-20T10:35:24Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2017-11-20T10:35:24Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=94334c667cb14a4cfacff059c4e2da21206ed658'/>
<id>urn:sha1:94334c667cb14a4cfacff059c4e2da21206ed658</id>
<content type='text'>
pr_input handlers without KERNEL_LOCK().

ok visa@
</content>
</entry>
<entry>
<title>Reduces the scope of the NET_LOCK() in sysctl(2) path.</title>
<updated>2017-10-09T08:35:38Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2017-10-09T08:35:38Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=df4a15bc1fe47e27f4c1e62e865ee303c6e12c79'/>
<id>urn:sha1:df4a15bc1fe47e27f4c1e62e865ee303c6e12c79</id>
<content type='text'>
Exposes per-CPU counters to real parrallelism.

ok visa@, bluhm@, jca@
</content>
</entry>
<entry>
<title>Convert hand rolled sockaddr checks to the nam2sin functions.</title>
<updated>2017-08-15T17:47:15Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2017-08-15T17:47:15Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=8a0659789cafc9cd88130de43ff327627d682b7c'/>
<id>urn:sha1:8a0659789cafc9cd88130de43ff327627d682b7c</id>
<content type='text'>
Especially in tcp_usrreq() connect detect the correct address family
based on the inp_flags instead of the sa_family user input.
OK mpi@
</content>
</entry>
<entry>
<title>Introduce ipv{4,6}_input(), two wrappers around IP queues.</title>
<updated>2017-05-30T07:50:37Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2017-05-30T07:50:37Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=3f9b99eed8cb819707ecac8b1cf3d4a747d087dc'/>
<id>urn:sha1:3f9b99eed8cb819707ecac8b1cf3d4a747d087dc</id>
<content type='text'>
This will help transitionning to an un-KERNEL_LOCK()ed IP
forwarding path.

Disucssed with bluhm@, ok claudio@
</content>
</entry>
<entry>
<title>If m is not a continuous mbuf cluster, m_pullup() in pr_input may</title>
<updated>2017-05-04T17:58:46Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2017-05-04T17:58:46Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=eabae73b07e07afe1ac6a777c24b270d93635743'/>
<id>urn:sha1:eabae73b07e07afe1ac6a777c24b270d93635743</id>
<content type='text'>
change the pointer.  Then *mp keeps the invalid pointer and it might
be used.  Fix the potential use after free and also reset *mp in
other places to have less dangling pointers to freed mbufs.
OK mpi@ mikeb@
</content>
</entry>
<entry>
<title>Pass down the address family through the pr_input calls.  This</title>
<updated>2017-04-14T20:46:31Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2017-04-14T20:46:31Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=459fa0feb1e08ab4109b4bff330f1f74c94429d3'/>
<id>urn:sha1:459fa0feb1e08ab4109b4bff330f1f74c94429d3</id>
<content type='text'>
allows to simplify code used for both IPv4 and IPv6.
OK mikeb@ deraadt@
</content>
</entry>
<entry>
<title>Change the IPv4 pr_input function to the way IPv6 is implemented,</title>
<updated>2017-01-29T19:58:47Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2017-01-29T19:58:47Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=96be3d963b5604cc32eea23d6dcaee46d64ef1dc'/>
<id>urn:sha1:96be3d963b5604cc32eea23d6dcaee46d64ef1dc</id>
<content type='text'>
to get rid of struct ip6protosw and some wrapper functions.  It is
more consistent to have less different structures.  The divert_input
functions cannot be called anyway, so remove them.
OK visa@ mpi@
</content>
</entry>
</feed>
