OpenBSD cvs log

created 2019-02-19T17:13:48Z
begin 2019-02-13T00:00:00Z
end 2019-02-14T00:00:00Z
path src/sys
commits 4

date 2019-02-13T11:55:21Z
author martijn
files src/sys/kern/uipc_usrreq.c log diff annotate
message Allow SO_PEERCRED to be called on sockets created with socketpair.

OK claudio@ and jca@

date 2019-02-13T23:47:42Z
author dlg
files src/sys/net/if_mpe.c log diff annotate
src/sys/net/if_mpw.c log diff annotate
src/sys/net/route.c log diff annotate
src/sys/net/route.h log diff annotate
message change rt_ifa_add and rt_ifa_del so they take an rdomain argument.

this allows mpls interfaces (mpe, mpw) to pass the rdomain they
wish the local label to be in, rather than have it implicitly forced
to 0 by these functions. right now they'll pass 0, but it will soon
be possible to have them rx packets in other rdomains.

previously the functions used ifp->if_rdomain for the rdomain.
everything other than mpls still passes ifp->if_rdomain.

ok mpi@

date 2019-02-13T23:47:43Z
author dlg
files src/sys/netinet/in.c log diff annotate
src/sys/netinet/ip_mroute.c log diff annotate
src/sys/netinet6/in6.c log diff annotate
src/sys/netinet6/in6_ifattach.c log diff annotate
src/sys/netinet6/ip6_mroute.c log diff annotate
message change rt_ifa_add and rt_ifa_del so they take an rdomain argument.

this allows mpls interfaces (mpe, mpw) to pass the rdomain they
wish the local label to be in, rather than have it implicitly forced
to 0 by these functions. right now they'll pass 0, but it will soon
be possible to have them rx packets in other rdomains.

previously the functions used ifp->if_rdomain for the rdomain.
everything other than mpls still passes ifp->if_rdomain.

ok mpi@

date 2019-02-13T23:55:56Z
author dlg
files src/sys/net/if_mpe.c log diff annotate
message don't confuse the interface rdomain with the one the local label is in.

SIOCSIFRDOMAIN is about the routes on top of an mpe interface. the
rdomain mpls operates in is independent of that, and currently
restricted to rdomain 0.