summaryrefslogtreecommitdiffstats
path: root/sys/net/if_tun.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2011-07-07 18:04:25 +0000
committerjsing <jsing@openbsd.org>2011-07-07 18:04:25 +0000
commit763ac864a6473dd787ac6ba27286fd9e7664c6a2 (patch)
tree50e36d1b5ab8dd19609fdf8591af98447e9866b9 /sys/net/if_tun.c
parentFunctions used in files other than where they are defined should be (diff)
downloadwireguard-openbsd-763ac864a6473dd787ac6ba27286fd9e7664c6a2.tar.xz
wireguard-openbsd-763ac864a6473dd787ac6ba27286fd9e7664c6a2.zip
Fix the LBA offset calculation for the last block in a rebuild, if there
is a partial block. Also correctly handle the case where there is no partial block. Whilst here remove a pointless variable. Issues spotted by and based on diffs from Piotr Durlej - thanks! ok marco@
Diffstat (limited to 'sys/net/if_tun.c')
0 files changed, 0 insertions, 0 deletions