mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-26 14:01:57 +00:00
Merge pull request #8925 from idryzhov/ospf6-duplicated-read
ospf6d: fix duplicated packet read
This commit is contained in:
commit
d57b090fcb
@ -1709,6 +1709,13 @@ static int ospf6_read_helper(int sockfd, struct ospf6 *ospf6)
|
||||
return OSPF6_READ_CONTINUE;
|
||||
}
|
||||
|
||||
/*
|
||||
* Drop packet destined to another VRF.
|
||||
* This happens when raw_l3mdev_accept is set to 1.
|
||||
*/
|
||||
if (ospf6->vrf_id != oi->interface->vrf_id)
|
||||
return OSPF6_READ_CONTINUE;
|
||||
|
||||
oh = (struct ospf6_header *)recvbuf;
|
||||
if (ospf6_rxpacket_examin(oi, oh, len) != MSG_OK)
|
||||
return OSPF6_READ_CONTINUE;
|
||||
|
Loading…
Reference in New Issue
Block a user