]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'net-sched-ife-malformed-ife-packet-fixes'
authorDavid S. Miller <davem@davemloft.net>
Mon, 23 Apr 2018 01:12:00 +0000 (21:12 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Apr 2018 01:12:00 +0000 (21:12 -0400)
commitf5980ddd995235574443cd189f50cea98756c1c0
tree5386270f315c29fb679d6247f53eae936656fbd4
parent9b41cbaf47839e694f50af9e13fb39fdbb74f64d
parent0dd7c4ced213b78d55ce5324719ea015b9f17842
Merge branch 'net-sched-ife-malformed-ife-packet-fixes'

Alexander Aring says:

====================
net: sched: ife: malformed ife packet fixes

As promised at netdev 2.2 tc workshop I am working on adding scapy support for
tdc testing. It is still work in progress. I will submit the patches to tdc
later (they are not in good shape yet). The good news is I have been able to
find bugs which normal packet testing would not be able to find.
With fuzzy testing I was able to craft certain malformed packets that IFE
action was not able to deal with. This patch set fixes those bugs.

changes since v4:
 - use pskb_may_pull before pointer assign

changes since v3:
 - use pskb_may_pull

changes since v2:
 - remove inline from __ife_tlv_meta_valid
 - add const to cast to meta_tlvhdr
 - add acked and reviewed tags
====================

Signed-off-by: David S. Miller <davem@davemloft.net>