diff options
author | Linus Lüssing <linus.luessing@c0d3.blue> | 2019-01-21 07:26:26 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-01-22 17:18:08 -0800 |
commit | a2e2ca3bebe273055a212d754ffe4e0264192d74 (patch) | |
tree | 7e67a61e9eafae3581f2995fbc54b65aacd72f8c /drivers/clocksource | |
parent | ba5ea614622dca6d675b4cc8a97270569ae13a23 (diff) | |
download | linux-a2e2ca3bebe273055a212d754ffe4e0264192d74.tar.gz linux-a2e2ca3bebe273055a212d754ffe4e0264192d74.tar.bz2 linux-a2e2ca3bebe273055a212d754ffe4e0264192d74.zip |
bridge: simplify ip_mc_check_igmp() and ipv6_mc_check_mld() internals
With this patch the internal use of the skb_trimmed is reduced to
the ICMPv6/IGMP checksum verification. And for the length checks
the newly introduced helper functions are used instead of calculating
and checking with skb->len directly.
These changes should hopefully make it easier to verify that length
checks are performed properly.
Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/clocksource')
0 files changed, 0 insertions, 0 deletions