Left-over from the removal of sppp's special<tm> queue handling.
Index: if_spppsubr.c
===================================================================
RCS file: /cvs/src/sys/net/if_spppsubr.c,v
retrieving revision 1.138
diff -u -p -r1.138 if_spppsubr.c
--- if_spppsubr.c 30 Sep 2015 09:45:20 -0000 1.138
+++ if_spppsubr.c 30 Sep 2015 11:58:49 -0000
@@ -595,23 +595,9 @@ sppp_output(struct ifnet *ifp, struct mb
s = splnet();
}
- /*
- * Put low delay, telnet, rlogin and ftp control packets
- * in front of the queue.
- */
if (dst->sa_family == AF_INET) {
struct ip *ip = NULL;
- struct tcphdr *th = NULL;
- if (m->m_len >= sizeof(struct ip)) {
- ip = mtod(m, struct ip *);
- if (ip->ip_p == IPPROTO_TCP &&
- m->m_len >= sizeof(struct ip) + (ip->ip_hl << 2) +
- sizeof(struct tcphdr)) {
- th = (struct tcphdr *)
- ((caddr_t)ip + (ip->ip_hl << 2));
- }
- }
/*
* When using dynamic local IP address assignment by using
* 0.0.0.0 as a local address, the first TCP session will