diff options
author | Willem de Bruijn <willemb@google.com> | 2016-03-09 21:58:34 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-09 22:13:01 -0500 |
commit | 9ed988cd591500c040b2a6257bc68543e08ceeef (patch) | |
tree | 5044c8b8a7af7aa6c9bf017a51da01f3ca334274 /security/Kconfig | |
parent | ea47781c26510e5d97f80f9aceafe9065bd5e3aa (diff) |
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 'security/Kconfig')
0 files changed, 0 insertions, 0 deletions