neighbour : fix ndm_type type error issue
ndm_type means L3 address type, in neighbour proxy and vxlan, it's RTN_UNICAST. NDA_DST is for netlink TLV type, hence it's not right value in this context. Signed-off-by: Jun Zhao <mypopydev@gmail.com> Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

vanhempi
8266f5fcf0
commit
545469f7a5
@@ -2249,7 +2249,7 @@ static int pneigh_fill_info(struct sk_buff *skb, struct pneigh_entry *pn,
|
||||
ndm->ndm_pad1 = 0;
|
||||
ndm->ndm_pad2 = 0;
|
||||
ndm->ndm_flags = pn->flags | NTF_PROXY;
|
||||
ndm->ndm_type = NDA_DST;
|
||||
ndm->ndm_type = RTN_UNICAST;
|
||||
ndm->ndm_ifindex = pn->dev->ifindex;
|
||||
ndm->ndm_state = NUD_NONE;
|
||||
|
||||
|
Viittaa uudesa ongelmassa
Block a user