]> git.proxmox.com Git - mirror_frr.git/commit
isisd: fix crash on processing own p2p hello
authorAmritha Nambiar <amritha.nambiar@intel.com>
Thu, 23 Apr 2015 22:36:55 +0000 (15:36 -0700)
committerDaniel Walton <dwalton@cumulusnetworks.com>
Thu, 26 May 2016 15:33:30 +0000 (15:33 +0000)
commit0908a2fdd38417908959f548548ca13a3b5c435a
treec1fa4cfe6bf4915fdf08a3568974f9217cdb6eb0
parentdb5a0ac1107ab3989f49b9b72188a171a7c19b4c
isisd: fix crash on processing own p2p hello

isis_pdu.c :
isisd crashes if router's own p2p hello packets get processed
thereby creating an adjacecncy with itself. Asserts at
isis_find_vertex. So discard own p2p IIH PDU and avoid
creating adjacency with self. This would also fix duplicate
systemID on an interface. These checks already exists for IS-IS
LAN Level 1/2 Hello PDU in process_lan_hello, but not for
point-to-point IIH PDUs.

Signed-off-by: Amritha Nambiar <amritha.nambiar@intel.com>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
(cherry picked from commit 491417ac6383e2ea557951b24eb7bd3fffb69394)
isisd/isis_pdu.c