diff options
author | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2014-03-18 14:55:50 +0000 |
---|---|---|
committer | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2014-03-18 14:55:50 +0000 |
commit | 67ba744df97a720054fc9383e58231472fb65214 (patch) | |
tree | 28554c24645e3c76c83ed0d233be73727c49d6b9 | |
parent | 017bb18ef2cc691a653a146a52aca21adf140752 (diff) |
Notify userland via the routing socket when ARP resolution completes;
discussed with claudio@ at n2k14, ok mpi
-rw-r--r-- | sys/netinet/if_ether.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c index 5a49c5acd61..d73018f7e78 100644 --- a/sys/netinet/if_ether.c +++ b/sys/netinet/if_ether.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ether.c,v 1.121 2014/03/18 10:47:34 mpi Exp $ */ +/* $OpenBSD: if_ether.c,v 1.122 2014/03/18 14:55:49 mikeb Exp $ */ /* $NetBSD: if_ether.c,v 1.31 1996/05/11 12:59:58 mycroft Exp $ */ /* @@ -694,6 +694,7 @@ in_arpinput(struct mbuf *m) rt->rt_expire = time_second + arpt_keep; rt->rt_flags &= ~RTF_REJECT; la->la_asked = 0; + rt_sendmsg(rt, RTM_RESOLVE, rt->rt_ifp->if_rdomain); while ((mh = la->la_hold_head) != NULL) { if ((la->la_hold_head = mh->m_nextpkt) == NULL) la->la_hold_tail = NULL; |