Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F174355885
D60247.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
823 B
Referenced Files
None
Subscribers
None
D60247.diff
View Options
diff --git a/sys/netinet/in.c b/sys/netinet/in.c
--- a/sys/netinet/in.c
+++ b/sys/netinet/in.c
@@ -384,6 +384,9 @@
sx_xunlock(&in_control_sx);
return (error);
case OSIOCAIFADDR: /* 9.x compat */
+ gone_in(17, "%s (pid %d) uses OSIOCAIFADDR",
+ curproc->p_comm, curproc->p_pid);
+ /* FALLTHROUGH */
case SIOCAIFADDR:
sx_xlock(&in_control_sx);
error = in_aifaddr_ioctl(cmd, data, ifp, cred);
diff --git a/sys/netinet6/in6.c b/sys/netinet6/in6.c
--- a/sys/netinet6/in6.c
+++ b/sys/netinet6/in6.c
@@ -275,6 +275,8 @@
* Compat to make pre-10.x ifconfig(8) operable.
*/
if (cmd == OSIOCAIFADDR_IN6) {
+ gone_in(17, "%s (pid %d) uses OSIOCAIFADDR_IN6",
+ curthread->td_proc->p_comm, curthread->td_proc->p_pid);
cmd = SIOCAIFADDR_IN6;
ifra = &tmpifra;
memset(ifra, 0, sizeof(*ifra));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 3, 3:49 PM (13 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40136273
Default Alt Text
D60247.diff (823 B)
Attached To
Mode
D60247: netinet: Deprecate OSIOCAIFADDR and OSIOCAIFADDR_IN6
Attached
Detach File
Event Timeline
Log In to Comment