summaryrefslogtreecommitdiffstats
path: root/sys/net/if_mpe.c
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2016-01-13 23:11:22 +0000
committerkettenis <kettenis@openbsd.org>2016-01-13 23:11:22 +0000
commit38a28d416b450c1ed6f6ac966996ecd1e51b3f88 (patch)
treea84f0a240fb0c010445d5e75fe5c14442d53e807 /sys/net/if_mpe.c
parenteliminate fallback from untrusted X11 forwarding to trusted (diff)
downloadwireguard-openbsd-38a28d416b450c1ed6f6ac966996ecd1e51b3f88.tar.xz
wireguard-openbsd-38a28d416b450c1ed6f6ac966996ecd1e51b3f88.zip
Change aml_find_node() such that it only walks down the tree and doesn't
traverse sideways. This seems to be what all callersexpect it to do, and fixes a bug in dwiic(4) where it would try to access i2c devices on busses they're not attached to. If there is any fallout from this change, the right thing to do is probably to make sure callers pass the right node. While there, change the return type to void, as the return value was useless and none of the callers looked at it. ok mlarkin@
Diffstat (limited to 'sys/net/if_mpe.c')
0 files changed, 0 insertions, 0 deletions