]> git.puffer.fish Git - matthieu/frr.git/commit
isisd: Drop packet received on multiple interfaces due to the time gap in binding...
authorAmritha Nambiar <amritha.nambiar@intel.com>
Wed, 14 Oct 2015 05:08:46 +0000 (22:08 -0700)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 30 Mar 2016 00:26:08 +0000 (20:26 -0400)
commitee773b24a248313557aef10520ddf25d2c50c02e
tree8904494b5222c0ade1909f07f6317ae495e2c7e0
parent1d75f88306ee450c4a3b4f4d68060e189d3a37e9
isisd: Drop packet received on multiple interfaces due to the time gap in binding socket to an interface

Due to the time window between opening socket and binding it to an interface, the same hello
packet is delivered on multiple interfaces, unique socket per circuit is not yet established.
When such hellos get processed, they form incorrect adjacencies. So, drop the packet that is
received on multiple interfaces because the socket for the circuit is yet to bind to an interface.

V2: Fix warning on sign comparison

Signed-off-by: Amritha Nambiar <amritha.nambiar@intel.com>
isisd/isis_pfpacket.c