]> CyberLeo.Net >> Repos - FreeBSD/releng/7.2.git/commit
MFC r191305:
authorbz <bz@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 22 Apr 2009 08:37:02 +0000 (08:37 +0000)
committerbz <bz@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 22 Apr 2009 08:37:02 +0000 (08:37 +0000)
commit6d0ff7606bd8cd8c41fa8ca403ea8f4e9e33b27b
tree8c7dbcd26d1f3b1845ed2d38c3f1b7d6f078af7a
parent262997012c30b3f954f9152d3de0bd86c7b2cb05
MFC r191305:

 Back out r186308 (r191014 in stable/7):

 In case of AF_LINK, which the kernel still returns for an RTAX_GATEWAY
 as an empty sockaddr_dl in the classic tun<n> case:
 copying the address into the message payload, but not the RTA_GATEWAY
 flag results in rt_xaddrs() in the kernel tripping over that and parsing
 the next attribute set with a flag, i.e. RTA_NETMASK, with the gateway
 address, resulting in bogus route entry.

Approved by:  re (kensmith)

git-svn-id: svn://svn.freebsd.org/base/releng/7.2@191373 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/ppp/route.c