summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/if_em.c
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2009-08-12 21:44:49 +0000
committerhenning <henning@openbsd.org>2009-08-12 21:44:49 +0000
commit11adecbe248d43c5741fc78a7b813972a3fb056d (patch)
tree8f4f5000c000c9e44eafb10c9b5e968d23679e5a /sys/dev/pci/if_em.c
parentonly pull in the source file if it is needed, so that all the others (diff)
downloadwireguard-openbsd-11adecbe248d43c5741fc78a7b813972a3fb056d.tar.xz
wireguard-openbsd-11adecbe248d43c5741fc78a7b813972a3fb056d.zip
just bzero the pkthdr instead of setting each and every member of that
struct to 0/NULL. no performance impact but way less error prone on addition of new pkthdr field (as just ran into with a theo diff). ok theo
Diffstat (limited to 'sys/dev/pci/if_em.c')
0 files changed, 0 insertions, 0 deletions