adjtime and negative delta

2019-09-09 Thread detha
In trying to figure out why since upgrading to 6.5 ports/ntp was spamming the logs with "adj_systime: Invalid argument" every 20 seconds on some machines, I found this happened when it was calling adjtime(2) with a small negative value in tv_usec. The man page talks about negative deltas, but

patch for PPPoE peers sending MPLS config

2018-10-04 Thread detha
recognize it, and terminated the session. Attached a patch (against 6.3 stable) to ignore MPLSCP, which made things work again. detha Index: sys/net/if_spppsubr.c === RCS file: /cvs/src/sys/net/if_spppsubr.c,v retrieving revision