summaryrefslogtreecommitdiffhomepage
path: root/pkg/metric/BUILD
diff options
context:
space:
mode:
authorKevin Krakauer <krakauer@google.com>2019-11-14 22:54:01 -0800
committergVisor bot <gvisor-bot@google.com>2019-11-14 22:55:15 -0800
commit23574b1b87ce5aed7b78a53663eac61ae030e9d5 (patch)
tree884c56c30f95ab0b7c104f3bcba5d27803e5214c /pkg/metric/BUILD
parentaf323eb7c1830053627de6161f8ce73ac5f06d4e (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