gvisor/pkg
Ghanan Gowripalan dffa4c6690 Don't include link header when forwarding packets
Before this change, if a link header was included in an incoming packet
that is forwarded, the packet that gets sent out will take the original
packet and add a link header to it while keeping the old link header.
This would make the sent packet look like:

   OUTGOING LINK HDR | INCOMING LINK HDR | NETWORK HDR | ...

Obviously this is incorrect as we should drop the incoming link header
and only include the outgoing link header. This change fixes this bug.

Test: integration_test.TestForwarding
PiperOrigin-RevId: 337571447
2020-10-16 13:54:00 -07:00
..
abi
amutex
atomicbitops Automated rollback of changelist 303799678 2020-04-01 11:06:26 -07:00
binary Move Align{Up,Down} into binary package. 2020-02-11 11:09:31 -08:00
bits Misc fixes to make stat_test pass (almost) 2020-03-25 14:59:15 -07:00
bpf
buffer pkg/buffer: Reorganize internal structure to allow dynamic sizes. 2020-09-22 17:56:40 -07:00
cleanup
compressio
context
control
coverage
cpuid Add nogo support to go_binary and go_test targets. 2020-08-25 12:18:25 -07:00
eventchannel
fd Simplify FD handling for container start/exec 2020-09-04 11:42:02 -07:00
fdchannel Standardize on tools directory. 2020-01-27 12:21:00 -08:00
fdnotifier
flipcall Consistent precondition formatting 2020-08-20 13:32:24 -07:00
fspath Port most syscalls to VFS2. 2020-02-25 13:37:34 -08:00
gate Deflake third_party/gvisor/pkg/gate/gate_test 2020-03-18 17:42:29 -07:00
gohacks Support for saving pointers to fields in the state package. 2020-06-23 23:34:06 -07:00
goid add arm64 support to goid 2020-05-13 04:35:47 -04:00
ilist Support for saving pointers to fields in the state package. 2020-06-23 23:34:06 -07:00
iovec
linewriter
lisafs RFC: design for a 9P replacement 2020-09-15 13:19:36 -07:00
log Remove implicit dependencies for leaf packages. 2020-05-20 18:35:32 -07:00
marshal Replace remaining uses of reflection-based marshalling. 2020-09-29 18:08:07 -07:00
memutil
merkletree
metric Consistent precondition formatting 2020-08-20 13:32:24 -07:00
p9
pool Move p9.pool to a separate package 2020-02-06 10:07:45 -08:00
procid
rand Actually wrap rand.Reader in bufio.Reader. 2020-03-20 17:02:13 -07:00
refs Fix panic in `runsc flags` 2020-09-22 13:45:24 -07:00
refs_vfs2
safecopy Don't use REP string instructions in safecopy.memcpy. 2020-04-09 11:03:43 -07:00
safemem Fix host unix socket to not swallow EOF incorrectly. 2020-09-11 11:56:04 -07:00
seccomp Convert uses of the binary package in kernel to go-marshal. 2020-10-02 12:24:24 -07:00
secio
segment Consistent precondition formatting 2020-08-20 13:32:24 -07:00
sentry
shim
sleep
state
sync Update Go version constraint on sync/spin_unsafe.go. 2020-09-02 15:37:26 -07:00
syncevent Bump build constraints to 1.17 2020-08-24 12:58:39 -07:00
syserr Add support for SO_ERROR to packet sockets. 2020-07-15 14:56:39 -07:00
syserror Add FUSE umount support 2020-09-16 12:19:30 -07:00
tcpip Don't include link header when forwarding packets 2020-10-16 13:54:00 -07:00
test
unet
urpc Standardize on tools directory. 2020-01-27 12:21:00 -08:00
usermem Replace remaining uses of reflection-based marshalling. 2020-09-29 18:08:07 -07:00
waiter Remove waiter.Entry.Context 2020-06-24 13:56:38 -07:00