diff options
author | Kevin Krakauer <krakauer@google.com> | 2019-11-14 22:54:01 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-11-14 22:55:15 -0800 |
commit | 23574b1b87ce5aed7b78a53663eac61ae030e9d5 (patch) | |
tree | 884c56c30f95ab0b7c104f3bcba5d27803e5214c /pkg/metric/BUILD | |
parent | af323eb7c1830053627de6161f8ce73ac5f06d4e (diff) |
Fix panic when logging raw packets via sniffer.
Sniffer assumed that outgoing packets have transport headers, but
users can write packets via SOCK_RAW with arbitrary transport headers that
netstack doesn't know about. We now explicitly check for the presence of network
and transport headers before assuming they exist.
PiperOrigin-RevId: 280594395
Diffstat (limited to 'pkg/metric/BUILD')
0 files changed, 0 insertions, 0 deletions