diff options
author | 2023-12-13 17:19:35 +0100 | |
---|---|---|
committer | 2023-12-15 10:27:11 +0000 | |
commit | bb7403655b3c3eb245d0ee330047cd3e20b3c4af (patch) | |
tree | 75a84c392ae6eeaacc23b6248ac73a5f03747684 /net/core/dev.c | |
parent | net: mana: add msix index sharing between EQs (diff) | |
download | linux-rng-bb7403655b3c3eb245d0ee330047cd3e20b3c4af.tar.xz linux-rng-bb7403655b3c3eb245d0ee330047cd3e20b3c4af.zip |
ipmr: support IP_PKTINFO on cache report IGMP msg
In order to support IP_PKTINFO on those packets, we need to call
ipv4_pktinfo_prepare.
When sending mrouted/pimd daemons a cache report IGMP msg, it is
unnecessary to set dst on the newly created skb.
It used to be necessary on older versions until
commit d826eb14ecef ("ipv4: PKTINFO doesnt need dst reference") which
changed the way IP_PKTINFO struct is been retrieved.
Changes from v1:
1. Undo changes in ipv4_pktinfo_prepare function. use it directly
and copy the control block.
Fixes: d826eb14ecef ("ipv4: PKTINFO doesnt need dst reference")
Signed-off-by: Leone Fernando <leone4fernando@gmail.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions