PPP stupidly hardwires some flag constants that it 'steals' from the mbuf
authorMatthew Dillon <dillon@dragonflybsd.org>
Tue, 10 Aug 2004 22:05:30 +0000 (22:05 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Tue, 10 Aug 2004 22:05:30 +0000 (22:05 +0000)
commit93aecd63848244a6f98ae7a72fd45f5730560efd
treedb5a0095c1ff7d4335e8c6281db3433d55ca60d9
parentb49909da4b77e75ea34751f970ef159021f45ef2
PPP stupidly hardwires some flag constants that it 'steals' from the mbuf
structure.  We are now using the flag bits it stole, which resulted in
packets being dropped and other issues.

Having ppp use M_PROTOx flags rather then hardwired constants fixes the
problem.

Reported-by: Sarunas Vancevicius <vsarunas@eircom.net>
sys/net/ppp/if_ppp.c