aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
diff options
context:
space:
mode:
authorMichelleJin <shjy180909@gmail.com>2021-08-29 04:32:29 +0000
committerDavid S. Miller <davem@davemloft.net>2021-08-31 11:29:23 +0100
commit6baeb3951c271cff30828c4763fa1362da56454a (patch)
treeabad895fea77016cced5a7bb17bc57dbe15d2bcb /drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
parentnet: qualcomm: fix QCA7000 checksum handling (diff)
downloadlinux-dev-6baeb3951c271cff30828c4763fa1362da56454a.tar.xz
linux-dev-6baeb3951c271cff30828c4763fa1362da56454a.zip
net: bridge: use mld2r_ngrec instead of icmpv6_dataun
br_ip6_multicast_mld2_report function uses icmp6h to parse mld2_report packet. mld2r_ngrec defines mld2r_hdr.icmp6_dataun.un_data16[1] in include/net/mld.h. So, it is more compact to use mld2r rather than icmp6h. By doing printk test, it is confirmed that icmp6h->icmp6_dataun.un_data16[1] and mld2r->mld2r_ngrec are indeed equivalent. Also, sizeof(*mld2r) and sizeof(*icmp6h) are equivalent, too. Signed-off-by: MichelleJin <shjy180909@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c')
0 files changed, 0 insertions, 0 deletions