diff options
author | Cong Wang <[email protected]> | 2019-07-01 20:40:24 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-07-03 13:26:12 -0700 |
commit | 9d1bc24b52fb8c5d859f9a47084bf1179470e04c (patch) | |
tree | ecc9fb47b451a8795412aa1937ebf8e16f26a3a4 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | c3ead2df9776ab22490d78a7f68a8ec58700e07f (diff) |
bonding: validate ip header before check IPPROTO_IGMP
bond_xmit_roundrobin() checks for IGMP packets but it parses
the IP header even before checking skb->protocol.
We should validate the IP header with pskb_may_pull() before
using iph->protocol.
Reported-and-tested-by: [email protected]
Fixes: a2fd940f4cff ("bonding: fix broken multicast with round-robin mode")
Cc: Jay Vosburgh <[email protected]>
Cc: Veaceslav Falico <[email protected]>
Cc: Andy Gospodarek <[email protected]>
Signed-off-by: Cong Wang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions