Remove a bogusly introduced rtalloc_ign() in rev. 1.335/SVN 178029,

generating an RTM_MISS for every IP packet forwarded making user space
routing daemons unhappy.

PR:		kern/123621, kern/124540, kern/122338
Reported by:	Paul <paul gtcomm.net>, Mike Tancsa <mike sentex.net> on net@
Tested by:	Paul and Mike
Reviewed by:	andre
MFC after:	3 days
This commit is contained in:
Bjoern A. Zeeb 2008-07-03 12:44:36 +00:00
parent aaa37a7e4e
commit 62ee136457
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=180215

View file

@ -1363,7 +1363,6 @@ ip_forward(struct mbuf *m, int srcrt)
* the ICMP_UNREACH_NEEDFRAG "Next-Hop MTU" field described in RFC1191.
*/
bzero(&ro, sizeof(ro));
rtalloc_ign_fib(&ro, RTF_CLONING, M_GETFIB(m));
error = ip_output(m, NULL, &ro, IP_FORWARDING, NULL, NULL);