OSDN Git Service

ipmr: Use full VIF ID in netlink cache reports
authorPaul Davey <paul.davey@alliedtelesis.co.nz>
Mon, 7 Sep 2020 22:04:08 +0000 (10:04 +1200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Sep 2020 19:25:51 +0000 (12:25 -0700)
commitbb82067c574a36c7e1d6d552557cf5b112ed9751
treeca38527ae9fd864683c052e38d5a8f14cc8dfea5
parentc8715a8e9f38906e73d6d78764216742db13ba0e
ipmr: Use full VIF ID in netlink cache reports

Insert the full 16 bit VIF ID into ipmr Netlink cache reports.

The VIF_ID attribute has 32 bits of space so can store the full VIF ID
extracted from the high and low byte fields in the igmpmsg.

Signed-off-by: Paul Davey <paul.davey@alliedtelesis.co.nz>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ipmr.c