In most cases, IP fragments do not have an Ethernet padding. So
authorbluhm <bluhm@openbsd.org>
Wed, 29 Apr 2015 18:05:56 +0000 (18:05 +0000)
committerbluhm <bluhm@openbsd.org>
Wed, 29 Apr 2015 18:05:56 +0000 (18:05 +0000)
commitfcf0d611538ab5e58eaf36ba003573cafbe6b12a
tree63a1adac5df37bfa557e25ac4a8777a91e9ce75a
parent2c6e8a171f0e34fd69c90576c144c63d400afa64
In most cases, IP fragments do not have an Ethernet padding.  So
add a condition to save a useless call to m_adj() and have a paranoid
length check in the other cases.
OK henning@
sys/net/pf_norm.c