OpenBSD CVS

CVS log for src/sys/net/if_etherip.c


[BACK] Up to [local] / src / sys / net

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.55 / (download) - annotate - [select for diffs], Tue Feb 13 12:22:09 2024 UTC (3 months, 3 weeks ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, HEAD
Changes since 1.54: +2 -1 lines
Diff to previous 1.54 (colored)

Merge struct route and struct route_in6.

Use a common struct route for both inet and inet6.  Unfortunately
struct sockaddr is shorter than sockaddr_in6, so netinet/in.h has
to be exposed from net/route.h.  Struct route has to be bsd visible
for userland as netstat kvm code inspects inp_route.  Internet PCB
and TCP SYN cache can use a plain struct route now.  All specific
sockaddr types for inet and inet6 are embeded there.

OK claudio@

Revision 1.54 / (download) - annotate - [select for diffs], Sat Dec 23 10:52:54 2023 UTC (5 months, 2 weeks ago) by bluhm
Branch: MAIN
Changes since 1.53: +2 -1 lines
Diff to previous 1.53 (colored)

Backout always allocate per-CPU statistics counters for network
interface descriptor.  It panics during attach of em(4) device at
boot.

Revision 1.53 / (download) - annotate - [select for diffs], Fri Dec 22 23:01:50 2023 UTC (5 months, 2 weeks ago) by mvs
Branch: MAIN
Changes since 1.52: +1 -2 lines
Diff to previous 1.52 (colored)

Always allocate per-CPU statistics counters for network interface
descriptor.

We have the mess in network interface statistics. Only pseudo drivers
do per-CPU counters allocation, all other network devices use the old
`if_data'. The network stack partially uses per-CPU counters and
partially use `if_data', but the protection is inconsistent: some times
counters accessed with exclusive netlock, some times with shared
netlock, some times with kernel lock, but without netlock, some times
with another locks.

To make network interfaces statistics more consistent, always allocate
per-CPU counters at interface attachment time and use it instead of
`if_data'. At this step only move counters allocation to the if_attach()
internals. The `if_data' removal will be performed with the following
diffs to make review and tests easier.

ok bluhm

Revision 1.52 / (download) - annotate - [select for diffs], Tue Nov 28 13:23:20 2023 UTC (6 months, 1 week ago) by bluhm
Branch: MAIN
Changes since 1.51: +3 -3 lines
Diff to previous 1.51 (colored)

Remove struct inpcb from in6_embedscope() parameters.

rip6_output() did modify inp_outputopts6 temporarily to provide
different ip6_pktopts to in6_embedscope().  Better pass inp_outputopts6
and inp_moptions6 as separate arguments to in6_embedscope().
Simplify the code that deals with these options in in6_embedscope().
Doucument inp_moptions and inp_moptions6 as protected by net lock.

OK kn@

Revision 1.51 / (download) - annotate - [select for diffs], Sat Sep 16 09:33:27 2023 UTC (8 months, 3 weeks ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_7_4_BASE, OPENBSD_7_4
Changes since 1.50: +2 -2 lines
Diff to previous 1.50 (colored)

Allow counters_read(9) to take an optional scratch buffer.

Using a scratch buffer makes it possible to take a consistent snapshot of
per-CPU counters without having to allocate memory.

Makes ddb(4) show uvmexp command work in OOM situations.

ok kn@, mvs@, cheloha@

Revision 1.50 / (download) - annotate - [select for diffs], Mon Feb 28 00:12:11 2022 UTC (2 years, 3 months ago) by dlg
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1
Changes since 1.49: +41 -1 lines
Diff to previous 1.49 (colored)

add the mbuf tags that prevent output loops.

mostly copied from vxlan where the tag is checked in output and
set in encap. etherip appears to be one of the first drivers i
reworked, so it's a bit crufty. the ipv4 vs ipv6 handling could
be done better.

Revision 1.49 / (download) - annotate - [select for diffs], Sun May 16 15:10:20 2021 UTC (3 years ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0
Changes since 1.48: +2 -2 lines
Diff to previous 1.48 (colored)

panic does not require a \n at the end.  When one is provided, it looks wrong.

Revision 1.48 / (download) - annotate - [select for diffs], Sat Jan 9 21:00:58 2021 UTC (3 years, 5 months ago) by gnezdo
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.47: +3 -2 lines
Diff to previous 1.47 (colored)

Enforce range with sysctl_int_bounded in etherip_sysctl

OK millert@

Revision 1.47 / (download) - annotate - [select for diffs], Fri Aug 21 22:59:27 2020 UTC (3 years, 9 months ago) by kn
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8
Changes since 1.46: +1 -2 lines
Diff to previous 1.46 (colored)

Leave default ifq_maxlen handling to ifq_init()

Most clonable interface drivers (except bridge, enc, loop, pppx,
switch, trunk and vlan) initialise the send queue's length to IFQ_MAXLEN
during *_clone_create() even though ifq_init(), which is eventually called
through if_attach(), does the same.

Remove all early "ifq_set_maxlen(&ifq->if_snd, IFQ_MAXLEN);" lines to leave
it to ifq_init() and have clonable drivers a tad more in sync.

OK mvs

Revision 1.46 / (download) - annotate - [select for diffs], Fri Jul 10 13:26:41 2020 UTC (3 years, 11 months ago) by patrick
Branch: MAIN
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

Change users of IFQ_SET_MAXLEN() and IFQ_IS_EMPTY() to use the "new" API.

ok dlg@ tobhe@

Revision 1.45 / (download) - annotate - [select for diffs], Tue Apr 23 10:53:45 2019 UTC (5 years, 1 month ago) by dlg
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.44: +3 -4 lines
Diff to previous 1.44 (colored)

a first cut at converting some virtual ethernet interfaces to if_vinput

this let's input processing bypass ifiqs. there's a performance
benefit from this, and it will let me tweak the backpressure detection
mechanism that ifiqs use without impacting on a stack of virtual
interfaces.

ive tested all of these except mpw, which i will end up testing
soon anyway.

Revision 1.44 / (download) - annotate - [select for diffs], Fri Apr 19 07:39:37 2019 UTC (5 years, 1 month ago) by dlg
Branch: MAIN
Changes since 1.43: +5 -14 lines
Diff to previous 1.43 (colored)

use the factored out txhprio and rxhprio checks

reduces code duplication and chance for error.

Revision 1.43 / (download) - annotate - [select for diffs], Fri Apr 19 06:38:32 2019 UTC (5 years, 1 month ago) by dlg
Branch: MAIN
Changes since 1.42: +41 -5 lines
Diff to previous 1.42 (colored)

add rxprio support

Revision 1.42 / (download) - annotate - [select for diffs], Mon Dec 17 23:42:47 2018 UTC (5 years, 5 months ago) by dlg
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.41: +5 -1 lines
Diff to previous 1.41 (colored)

Handle SIOCADDMULTI and SIOCDELMULTI as nops in ioctl code.

There's nothing underneath the tunnels that needs configuration,
so there's no point in keepign track of configured multicast
addresses. We will at least save a bit of memory.

Revision 1.41 / (download) - annotate - [select for diffs], Mon Dec 17 23:08:36 2018 UTC (5 years, 5 months ago) by dlg
Branch: MAIN
Changes since 1.40: +6 -1 lines
Diff to previous 1.40 (colored)

If something like ether_ioctl returns ENETRESET, don't let it bubble out.

ENETRESET in hardware drivers means you should reprogram the hardware.
There's no hardware to reprogram, so just turn it into 0 on the way
out.

Revision 1.40 / (download) - annotate - [select for diffs], Mon Nov 12 23:57:06 2018 UTC (5 years, 6 months ago) by dlg
Branch: MAIN
Changes since 1.39: +26 -5 lines
Diff to previous 1.39 (colored)

add txprio support

etherip puts the prio in the encapsulating ip header, and supports
using hardcoded prio values or the prio from the mbuf. it encapsulates
ethernet, which doesnt have a prio field unelss you parse the ether
payload, which is not worth it.

ok claudio@

Revision 1.39 / (download) - annotate - [select for diffs], Mon Nov 12 09:39:52 2018 UTC (5 years, 6 months ago) by dlg
Branch: MAIN
Changes since 1.38: +2 -1 lines
Diff to previous 1.38 (colored)

set the hardmtu on ether encap ifs so the mtu can be raised above 1500

Revision 1.38 / (download) - annotate - [select for diffs], Mon Oct 29 09:51:20 2018 UTC (5 years, 7 months ago) by dlg
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

use the tunnelttl in the ip6 encap too, not ip6_defhlim.

Revision 1.37 / (download) - annotate - [select for diffs], Mon Feb 19 00:29:29 2018 UTC (6 years, 3 months ago) by dlg
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored)

initialise sc_df to 0 in clone create rather than setting sc_ttl badly

Revision 1.36 / (download) - annotate - [select for diffs], Mon Feb 19 00:26:26 2018 UTC (6 years, 3 months ago) by dlg
Branch: MAIN
Changes since 1.35: +17 -3 lines
Diff to previous 1.35 (colored)

add code to support configuration of tunnel traffic fragmentation

Revision 1.35 / (download) - annotate - [select for diffs], Mon Feb 12 01:43:42 2018 UTC (6 years, 3 months ago) by dlg
Branch: MAIN
Changes since 1.34: +38 -33 lines
Diff to previous 1.34 (colored)

restore the previous semantics wrt if up, tunnel, and address config.

our network drivers have a feature where if you configure an address
on the interface, it implicitly brings the interface up. i changed
etherip so you could only change the tunnel configuration while it
down, but maintained the implicit up behaviour. bringing the tunnel
up also relied on having valid configuration, ie, tunnel addreses
must be configured otherwise up will fail.

this means people who have address config in their hostname.etherip
files before config for the tunnel addresses will have problems.
firstly, the address wont be configured because falling through to
the interface up fails because the tunnel isnt configured correctly,
and that error makes the address config roll back. secondly, config
that relies on configuring the address to bring the interface up
will fail because there's no explicit up after the tunnel config.

this diff rolls the tunnel config back to keeping the interface on
a list, and allowing config at any time. the caveat to this is that
it makes mpsafety hard because inconsistent intermediate states are
visible when packets are being processed.

Revision 1.34 / (download) - annotate - [select for diffs], Mon Feb 12 00:09:39 2018 UTC (6 years, 3 months ago) by dlg
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

; ends c statements, not ;;

Revision 1.33 / (download) - annotate - [select for diffs], Fri Feb 9 09:22:46 2018 UTC (6 years, 4 months ago) by dlg
Branch: MAIN
Changes since 1.32: +18 -2 lines
Diff to previous 1.32 (colored)

add support for setting the ttl on the tunnel traffic.

Revision 1.32 / (download) - annotate - [select for diffs], Fri Feb 9 04:05:58 2018 UTC (6 years, 4 months ago) by dlg
Branch: MAIN
Changes since 1.31: +362 -304 lines
Diff to previous 1.31 (colored)

rework etherip to make it more consistent and reduce code duplication.

ok claudio@

Revision 1.16.4.1 / (download) - annotate - [select for diffs], Thu Feb 1 22:11:48 2018 UTC (6 years, 4 months ago) by bluhm
Branch: OPENBSD_6_1
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Done means to stop processing the protocol loop, but IP proto none
is protocol 58.  Fix typo in ip6_etherip_input() to properly discard
EtherIP tunnel IPv6 packets if the feature is disabled.
found by Maxime Villard; with markus@; OK patrick@ deraadt@ millert@ jca@
OpenBSD 6.1 errata 036

Revision 1.19.4.1 / (download) - annotate - [select for diffs], Thu Feb 1 22:03:23 2018 UTC (6 years, 4 months ago) by bluhm
Branch: OPENBSD_6_2
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

Done means to stop processing the protocol loop, but IP proto none
is protocol 58.  Fix typo in ip6_etherip_input() to properly discard
EtherIP tunnel IPv6 packets if the feature is disabled.
found by Maxime Villard; with markus@; OK patrick@ deraadt@ millert@ jca@
OpenBSD 6.2 errata 007

Revision 1.31 / (download) - annotate - [select for diffs], Thu Feb 1 21:18:12 2018 UTC (6 years, 4 months ago) by bluhm
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

Done means to stop processing the protocol loop, but IP proto none
is protocol 58.  Fix typo in ip6_etherip_input() to properly discard
EtherIP tunnel IPv6 packets if the feature is disabled.
found by Maxime Villard; with markus@; OK patrick@ deraadt@ millert@ jca@

Revision 1.30 / (download) - annotate - [select for diffs], Mon Jan 22 09:06:22 2018 UTC (6 years, 4 months ago) by mpi
Branch: MAIN
Changes since 1.29: +5 -3 lines
Diff to previous 1.29 (colored)

Use ip_send() to not call ip_output() recursively in *start() routine.

ok visa@

Revision 1.29 / (download) - annotate - [select for diffs], Tue Jan 9 15:24:24 2018 UTC (6 years, 5 months ago) by bluhm
Branch: MAIN
Changes since 1.28: +2 -4 lines
Diff to previous 1.28 (colored)

Creating a cloned interface could return ENOMEM due to temporary
memory shortage.  As it is invoked from a system call, it should
not fail and wait instead.
OK visa@ mpi@

Revision 1.28 / (download) - annotate - [select for diffs], Mon Nov 20 10:35:24 2017 UTC (6 years, 6 months ago) by mpi
Branch: MAIN
Changes since 1.27: +3 -1 lines
Diff to previous 1.27 (colored)

Sprinkle some NET_ASSERT_LOCKED(), const and co to prepare running
pr_input handlers without KERNEL_LOCK().

ok visa@

Revision 1.27 / (download) - annotate - [select for diffs], Fri Nov 17 18:22:52 2017 UTC (6 years, 6 months ago) by jca
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

Rename etherip sysctl handler, there's no conflict with ip_ether.c any more

ok visa@ mpi@

Revision 1.26 / (download) - annotate - [select for diffs], Fri Nov 17 14:52:50 2017 UTC (6 years, 6 months ago) by jca
Branch: MAIN
Changes since 1.25: +1 -10 lines
Diff to previous 1.25 (colored)

Move etherip_allow where it is used

While here, drop the declaration in headers, since the variable is used
in a single file.  ok visa@ mpi@

Revision 1.25 / (download) - annotate - [select for diffs], Fri Nov 17 14:50:17 2017 UTC (6 years, 6 months ago) by jca
Branch: MAIN
Changes since 1.24: +1 -20 lines
Diff to previous 1.24 (colored)

Don't pass unhandled packets to gif(4)

This was useful for the migration path, it's not since gif(4) can't be
added to a bridge any more.  ok visa@ as part of a larger diff, ok mpi@

Revision 1.24 / (download) - annotate - [select for diffs], Fri Nov 17 13:36:04 2017 UTC (6 years, 6 months ago) by jca
Branch: MAIN
Changes since 1.23: +4 -1 lines
Diff to previous 1.23 (colored)

Move etherip counters and their allocation to etherip(4)

gif(4) now depends on etherip(4) but this is a temporary drawback: we
can get rid of etherip_init(), called from the protocol switch, and
ip_ether.c should stop using etherip counters once it is clear that this
file doesn't handle ethernet-in-IP any more.

ok visa@ as part of a larger diff, ok mpi@

Revision 1.23 / (download) - annotate - [select for diffs], Wed Nov 15 17:30:20 2017 UTC (6 years, 6 months ago) by jca
Branch: MAIN
Changes since 1.22: +15 -1 lines
Diff to previous 1.22 (colored)

etherip(4) now handles etherip sysctls, move/remove code accordingly.

ok visa@ as part of a larger diff, ok mpi@

Revision 1.22 / (download) - annotate - [select for diffs], Fri Nov 10 02:37:14 2017 UTC (6 years, 7 months ago) by visa
Branch: MAIN
Changes since 1.21: +20 -32 lines
Diff to previous 1.21 (colored)

Use percpu counters with etheripstat.

Input and OK jca@, OK florian@

Revision 1.21 / (download) - annotate - [select for diffs], Wed Oct 25 09:24:09 2017 UTC (6 years, 7 months ago) by mpi
Branch: MAIN
Changes since 1.20: +9 -1 lines
Diff to previous 1.20 (colored)

Remove Multicast and Broadcast flags from the encapsulated packet in
vxlan(4) like it is done by other tunnelling pseudo-interfaces.

While here sync the comment between multiple interfaces.

Bug report and original diff from Pierre LALET.

Revision 1.20 / (download) - annotate - [select for diffs], Mon Oct 9 08:35:38 2017 UTC (6 years, 8 months ago) by mpi
Branch: MAIN
Changes since 1.19: +11 -3 lines
Diff to previous 1.19 (colored)

Reduces the scope of the NET_LOCK() in sysctl(2) path.

Exposes per-CPU counters to real parrallelism.

ok visa@, bluhm@, jca@

Revision 1.19 / (download) - annotate - [select for diffs], Tue Jun 6 11:51:13 2017 UTC (7 years ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE
Branch point for: OPENBSD_6_2
Changes since 1.18: +2 -1 lines
Diff to previous 1.18 (colored)

Do not rely on <net/rtable.h> beeing included by other headers.

Fix build without PF, PIPEX nor IPSEC.

Revision 1.18 / (download) - annotate - [select for diffs], Thu May 4 17:58:46 2017 UTC (7 years, 1 month ago) by bluhm
Branch: MAIN
Changes since 1.17: +5 -5 lines
Diff to previous 1.17 (colored)

If m is not a continuous mbuf cluster, m_pullup() in pr_input may
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@

Revision 1.17 / (download) - annotate - [select for diffs], Fri Apr 14 20:46:31 2017 UTC (7 years, 1 month ago) by bluhm
Branch: MAIN
Changes since 1.16: +5 -5 lines
Diff to previous 1.16 (colored)

Pass down the address family through the pr_input calls.  This
allows to simplify code used for both IPv4 and IPv6.
OK mikeb@ deraadt@

Revision 1.16 / (download) - annotate - [select for diffs], Mon Mar 27 23:49:03 2017 UTC (7 years, 2 months ago) by jca
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE
Branch point for: OPENBSD_6_1
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

Don't reject etherip packets if they are protected with IPsec.

This aligns code with documentation & matches what was available before
etherip(4) was split from gif(4).  sysctl net.inet.etherip.allow=1 is
still needed to accept etherip packets not protected with IPsec.

Reported by at least Jason Tubnor, ok mikeb@

Revision 1.15 / (download) - annotate - [select for diffs], Tue Mar 7 23:35:06 2017 UTC (7 years, 3 months ago) by jca
Branch: MAIN
Changes since 1.14: +23 -23 lines
Diff to previous 1.14 (colored)

Rename struct etheripstat members for consistency, move them all to 64bits

Will make transition to percpu counters easier.  ok bluhm@

Revision 1.14 / (download) - annotate - [select for diffs], Sun Jan 29 19:58:47 2017 UTC (7 years, 4 months ago) by bluhm
Branch: MAIN
Changes since 1.13: +15 -16 lines
Diff to previous 1.13 (colored)

Change the IPv4 pr_input function to the way IPv6 is implemented,
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@

Revision 1.13 / (download) - annotate - [select for diffs], Wed Jan 25 17:34:31 2017 UTC (7 years, 4 months ago) by bluhm
Branch: MAIN
Changes since 1.12: +3 -9 lines
Diff to previous 1.12 (colored)

Since raw_input() and route_input() are gone from pr_input, we can
make the variable parameters of the protocol input functions fixed.
Also add the proto to make it similar to IPv6.
OK mpi@ guenther@ millert@

Revision 1.12 / (download) - annotate - [select for diffs], Mon Jan 23 11:37:29 2017 UTC (7 years, 4 months ago) by mpi
Branch: MAIN
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored)

Flag pseudo-interfaces as such in order to call add_net_randomness()
only once per packet.

Fix a regression introduced when if_input() started to be called by
every pseudo-driver.

ok claudio@, dlg@

Revision 1.11 / (download) - annotate - [select for diffs], Sun Jan 22 10:17:39 2017 UTC (7 years, 4 months ago) by dlg
Branch: MAIN
Changes since 1.10: +1 -3 lines
Diff to previous 1.10 (colored)

move counting if_opackets next to counting if_obytes in if_enqueue.

this means packets are consistently counted in one place, unlike the
many and various ways that drivers thought they should do it.

ok mpi@ deraadt@

Revision 1.10 / (download) - annotate - [select for diffs], Tue Dec 13 06:51:11 2016 UTC (7 years, 5 months ago) by dlg
Branch: MAIN
Changes since 1.9: +26 -13 lines
Diff to previous 1.9 (colored)

make v6 tunnel address handling consider ipv6 scope.

an earlier version of this diff was ok mpi@

Revision 1.9 / (download) - annotate - [select for diffs], Thu Nov 17 13:37:20 2016 UTC (7 years, 6 months ago) by mpi
Branch: MAIN
Changes since 1.8: +4 -9 lines
Diff to previous 1.8 (colored)

Remove splsoftnet()s in the ioctl(2) path.

Since soft-interrupt for network processing are no more, the
KERNEL_LOCK() is what protect two concurrent threads from
accessing  data structures.

ok goda@

Revision 1.8 / (download) - annotate - [select for diffs], Mon Nov 14 03:51:53 2016 UTC (7 years, 6 months ago) by dlg
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

turn ipstat into a set of percpu counters.

each counter is identified by an enum value which correspond to the
original members of the ipstat struct.

ipstat_inc(ips_foo) replaces ipstat.ips_foo++ for the actual updates.
ipstat_inc is a thin wrapper around counters_inc.

counters are still returned to userland via the ipstat struct for now.

ok mpi@ mikeb@

Revision 1.7 / (download) - annotate - [select for diffs], Wed Apr 13 11:41:15 2016 UTC (8 years, 1 month ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.6: +1 -2 lines
Diff to previous 1.6 (colored)

We're always ready!  So send IFQ_SET_READY() to the bitbucket.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Mar 4 22:38:23 2016 UTC (8 years, 3 months ago) by sashan
Branch: MAIN
Changes since 1.5: +9 -1 lines
Diff to previous 1.5 (colored)

- putting back KASSERT(), which I've backed out on Jan 31
  We don't expect inbound packets to come to PF with statekey attached.

- I've also found missing call to pf_pkt_addr_changed() at various
  places, which needs to get fixed to prevent KASSERT() from firing.

OK mpi@, sthen@

Revision 1.5 / (download) - annotate - [select for diffs], Mon Jan 25 05:12:34 2016 UTC (8 years, 4 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.4: +2 -5 lines
Diff to previous 1.4 (colored)

don't return an uninitialised value for the SIOCGLIFPHYRTABLE case
ok yasuoka@ goda@

Revision 1.4 / (download) - annotate - [select for diffs], Fri Jan 22 11:33:39 2016 UTC (8 years, 4 months ago) by goda
Branch: MAIN
Changes since 1.3: +27 -3 lines
Diff to previous 1.3 (colored)

Support tunnel VRF on etherip(4)

ok dlg@ yasuoka@

Revision 1.3 / (download) - annotate - [select for diffs], Sat Dec 5 22:16:27 2015 UTC (8 years, 6 months ago) by mpi
Branch: MAIN
Changes since 1.2: +73 -93 lines
Diff to previous 1.2 (colored)

Multiple cleanups.

ok goda@, yasuoka@

Revision 1.2 / (download) - annotate - [select for diffs], Fri Dec 4 12:32:07 2015 UTC (8 years, 6 months ago) by reyk
Branch: MAIN
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored)

Reject input when either the version is wrong or the pad is non-zero;
not when the version is wrong and the pad is non-zero.

OK goda@

Revision 1.1 / (download) - annotate - [select for diffs], Thu Dec 3 12:42:03 2015 UTC (8 years, 6 months ago) by goda
Branch: MAIN

Implement etherip(4) driver

This commit is not removing the existing EtherIP part of gif(4) and
it keeps EtherIP of gif(4) working.

ok jbg@ sthen@ mpi@ reyk@ yasuoka@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.