summaryrefslogtreecommitdiffstats
path: root/include/crypto/vmac.h
diff options
context:
space:
mode:
authorWillem de Bruijn <willemb@google.com>2016-03-09 21:58:34 -0500
committerDavid S. Miller <davem@davemloft.net>2016-03-09 22:13:01 -0500
commit9ed988cd591500c040b2a6257bc68543e08ceeef (patch)
tree5044c8b8a7af7aa6c9bf017a51da01f3ca334274 /include/crypto/vmac.h
parentea47781c26510e5d97f80f9aceafe9065bd5e3aa (diff)
downloadop-kernel-dev-9ed988cd591500c040b2a6257bc68543e08ceeef.zip
op-kernel-dev-9ed988cd591500c040b2a6257bc68543e08ceeef.tar.gz
packet: validate variable length ll headers
Replace link layer header validation check ll_header_truncate with more generic dev_validate_header. Validation based on hard_header_len incorrectly drops valid packets in variable length protocols, such as AX25. dev_validate_header calls header_ops.validate for such protocols to ensure correctness below hard_header_len. See also http://comments.gmane.org/gmane.linux.network/401064 Fixes 9c7077622dd9 ("packet: make packet_snd fail on len smaller than l2 header") Signed-off-by: Willem de Bruijn <willemb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/crypto/vmac.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud