commit | f488c5b7bc5c0f003674f6f596d2452f6994c0cc | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Sat Dec 17 22:41:11 2016 +0800 |
committer | Dirk Ziegelmeier <dirk@ziegelmeier.net> | Sat Dec 17 22:01:30 2016 +0100 |
tree | bfb1ad93bbfef2c31339ed23be6ccbd117130820 | |
parent | 5c1dd6a4c65b9fb9c8628ffc911478855979d6e9 [diff] |
igmp: Fix optimized code for igmp_remove_group The code in the for loop checks tmp_group->next == group, so current code actually checks from the 3rd entry in the linked groups list. Fix it. Fixes: 5c1dd6a4c65b ("Optimization in igmp_remove_group() pointed out by Axel Lin") Signed-off-by: Axel Lin <axel.lin@ingics.com>