created | 2019-02-03T05:21:51Z |
---|---|
begin | 2019-01-27T00:00:00Z |
end | 2019-01-28T00:00:00Z |
path | src/sys |
commits | 15 |
date | 2019-01-27T01:39:05Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/netmpls/mpls_input.c | log | diff | annotate |
message |
forgot to commit the tweaks to mpls_input when mpw became an ethernet iface the input mechanism for mpw is now that it inserts a tag into the mpls table with RTF_LOCAL set. mpls_input falls through to calling the interface output routine (mpw_output in this case) which looks for that RTF_LOCAL and then calls mpw_input against that mbuf. ok claudio@ who is keep to apply this semantic to mpe |
date | 2019-01-27T01:42:31Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/net/if_mpw.c | log | diff | annotate |
message |
like ip headers, mpls tags need to be aligned to a 4 byte boundary copy the semantics for guaranteeing this from egre. when sending an encapsulated frame, prepend a whole new mbuf for the tags and transport headers. when rxing a packet, check the alignment of the ethernet payload and duplicate it on the right boundary if it isn't already aligned. |
date | 2019-01-27T02:24:49Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/net/if_mpw.c | log | diff | annotate |
src/sys/netmpls/mpls_input.c | log | diff | annotate | |
message |
split off "local" input handling this means the current mpls header will be passed along with the mbuf for mpw to look at. right now this doesn't do anything, but it will allow for implementation of RFC 6391 (flow aware transport) and using the exp header for cos. when mpe gets moved to adding an RTF_LOCAL route, this will be used for cos and ttl handling. |
date | 2019-01-27T02:29:46Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/net/if_mpe.c | log | diff | annotate |
message |
put underscores in function names like other drivers mpestart, mpeioctl and mpeoutput are now mpe_start, mpe_ioctl, and mpe_output respectively. no functional change |
date | 2019-01-27T02:35:27Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/net/if_mpe.c | log | diff | annotate |
message |
use sc as the name of the softc variable. makes this more like other drivers to read. |
date | 2019-01-27T02:40:47Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/net/if_mpw.c | log | diff | annotate |
message |
let ether_ioctl handle the mtu. set hardmtu to ETHER_MAX_HARDMTU_LEN. as well as allowing for larger frames to be transported, it also gets rid of the dependancy on mpe defines. |
date | 2019-01-27T02:41:56Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/net/if_mpe.c | log | diff | annotate |
src/sys/netmpls/mpls.h | log | diff | annotate | |
message | move the mpe_softc definition and mpe macros into the mpe driver. |
date | 2019-01-27T04:20:59Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/net/if_mpe.c | log | diff | annotate |
src/sys/netmpls/mpls.h | log | diff | annotate | |
src/sys/netmpls/mpls_input.c | log | diff | annotate | |
message |
change how packets are pushed into mpe(4). mpe(4) adds itself ot the mpls rtable with RTF_LOCAL set, which pushes the packet through mpe_output, which sees RTF_LOCAL can calls mpe_input. this follows what mpw(4) does, and removes a special case in mpls_input. |
date | 2019-01-27T04:54:06Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/net/if_mpe.c | log | diff | annotate |
message |
rework mpe_input so it patches ipv4 cksum, and handles ipv6 too. rather than check and recalculate the ipv4 checksum, we can update the cksum incrementally. this is a bit faster, and means we'll see more things on bpf. also, peek at the first nibble so we can tell ipv6 from ipv4. i consider them the same FEC, so either can be received now. |
date | 2019-01-27T05:13:04Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/net/if_mpe.c | log | diff | annotate |
src/sys/netmpls/mpls.h | log | diff | annotate | |
src/sys/netmpls/mpls_input.c | log | diff | annotate | |
message |
use mpls_ip_adjttl and mpls_ip6_adjttl in mpe instead of rolling it again. mpls_ip_adjttl now patches the checksum rather than check it and calculate it again. both mpls_ip_adjttl and mpls_ip6_adjttl now rely on the caller to check the sysctls for whether they should run or not, which paves the way for making it configurable in mpe via the tunnel ioctls. |
date | 2019-01-27T05:31:10Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/net/if_mpe.c | log | diff | annotate |
message | don't play with IFF_UP in strange places. |
date | 2019-01-27T10:34:45Z | |||
---|---|---|---|---|
author | anton | |||
files | src/sys/kern/subr_witness.c | log | diff | annotate |
message | consistency tweaks to panic format strings; ok visa@ |
date | 2019-01-27T10:41:41Z | |||
---|---|---|---|---|
author | anton | |||
files | src/sys/kern/subr_witness.c | log | diff | annotate |
message | stop using capital letters in printf format strings; ok visa@ |
date | 2019-01-27T11:59:30Z | |||
---|---|---|---|---|
author | anton | |||
files | src/sys/dev/wscons/wsmux.c | log | diff | annotate |
message |
Validate the user-supplied device index given to WSMUXIO_ADD_DEVICE. The same index is used to index an array which could cause a panic if it's negative. ok deraadt@ Reported-by: [email protected] |
date | 2019-01-27T16:24:00Z | |||
---|---|---|---|---|
author | anton | |||
files | src/sys/dev/wscons/wsmux.c | log | diff | annotate |
message | tweak errno in previous |