mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-20 16:54:02 +00:00
Back out ifi_epoch. The ABI breakage is too disruptive this close to
5-STABLE. ifi_epoch will shortly be reintroduced with less precistion using the space currently allocated to ifi_unused.
This commit is contained in:
parent
2df0b34b24
commit
4ff62bd97b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=134630
8
UPDATING
8
UPDATING
|
@ -23,6 +23,14 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 6.x IS SLOW:
|
|||
developers choose to disable these features on build machines
|
||||
to maximize performance.
|
||||
|
||||
20040902:
|
||||
The ifi_epoch change has been reverted because the ABI breakage
|
||||
was too extensive. If you are running with a kernel/userland
|
||||
containing the initial change (20040830), you should heed the
|
||||
warning about ifconfig incompatibility when upgrading again.
|
||||
With this change, 5.3 and 6.0 ifconfigs and kernels are once
|
||||
again interoperable.
|
||||
|
||||
20040830:
|
||||
A new variable, ifi_epoch, has been added to struct if_data
|
||||
which is part if struct ifnet. This means all network drivers
|
||||
|
|
|
@ -387,7 +387,6 @@ if_attach(struct ifnet *ifp)
|
|||
TAILQ_INIT(&ifp->if_multiaddrs);
|
||||
knlist_init(&ifp->if_klist, NULL);
|
||||
getmicrotime(&ifp->if_lastchange);
|
||||
getmicrotime(&ifp->if_data.ifi_epoch);
|
||||
|
||||
#ifdef MAC
|
||||
mac_init_ifnet(ifp);
|
||||
|
|
|
@ -104,7 +104,6 @@ struct if_data {
|
|||
u_long ifi_hwassist; /* HW offload capabilities */
|
||||
u_long ifi_unused; /* XXX was ifi_xmittiming */
|
||||
struct timeval ifi_lastchange; /* time of last administrative change */
|
||||
struct timeval ifi_epoch; /* time of creation or stat reset */
|
||||
};
|
||||
|
||||
#define IFF_UP 0x1 /* interface is up */
|
||||
|
|
Loading…
Reference in a new issue