mirror of
https://github.com/openwrt/routing.git
synced 2025-12-22 01:44:32 +04:00
Merge pull request #713 from mattreeve/master
[master] bird2: Fix bus error on OSPF on IPQ806X
This commit is contained in:
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=bird2
|
PKG_NAME:=bird2
|
||||||
PKG_VERSION:=2.0.8
|
PKG_VERSION:=2.0.8
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=bird-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=bird-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=ftp://bird.network.cz/pub/bird
|
PKG_SOURCE_URL:=ftp://bird.network.cz/pub/bird
|
||||||
|
|||||||
11
bird2/patches/000-ospf-bus-error.patch
Normal file
11
bird2/patches/000-ospf-bus-error.patch
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
--- a/proto/ospf/topology.h
|
||||||
|
+++ b/proto/ospf/topology.h
|
||||||
|
@@ -41,7 +41,7 @@ struct top_hash_entry
|
||||||
|
u8 mode; /* LSA generated during RT calculation (LSA_RTCALC or LSA_STALE)*/
|
||||||
|
u8 nhs_reuse; /* Whether nhs nodes can be reused during merging.
|
||||||
|
See a note in rt.c:add_cand() */
|
||||||
|
-};
|
||||||
|
+} PACKED;
|
||||||
|
|
||||||
|
|
||||||
|
/* Prevents ospf_hash_find() to ignore the entry, for p->lsrqh and p->lsrth */
|
||||||
Reference in New Issue
Block a user