aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPaul Davey <[email protected]>2020-09-08 10:04:07 +1200
committerDavid S. Miller <[email protected]>2020-09-10 12:25:51 -0700
commitc8715a8e9f38906e73d6d78764216742db13ba0e (patch)
treee6dc103986d2225073173e28fefefedd8ee5d51c /tools/perf/scripts/python
parent501cb008906631a019f3ab2104a17ef8b2651ed0 (diff)
ipmr: Add high byte of VIF ID to igmpmsg
Use the unused3 byte in struct igmpmsg to hold the high 8 bits of the VIF ID. If using more than 255 IPv4 multicast interfaces it is necessary to have access to a VIF ID for cache reports that is wider than 8 bits, the VIF ID present in the igmpmsg reports sent to mroute_sk was only 8 bits wide in the igmpmsg header. Adding the high 8 bits of the 16 bit VIF ID in the unused byte allows use of more than 255 IPv4 multicast interfaces. Signed-off-by: Paul Davey <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions