Page MenuHomeFreeBSD

wlanwds: convert getifaddrs() iteration to use the ifa_next pointer
ClosedPublic

Authored by adrian on Thu, Feb 27, 2:25 AM.
Referenced Files
F111197899: D49148.diff
Fri, Feb 28, 5:35 PM
F111191992: D49148.id151555.diff
Fri, Feb 28, 3:43 PM
F111125489: D49148.id151554.diff
Thu, Feb 27, 6:49 PM
Unknown Object (File)
Thu, Feb 27, 1:54 PM
Unknown Object (File)
Thu, Feb 27, 1:08 PM
Unknown Object (File)
Thu, Feb 27, 10:05 AM
Subscribers

Details

Summary

I don't know what I was thinking in 2017 when I wrote this, but
it's very wrong.

Use ifa->ifa_next to iterate, not the array index / pointer arithmetic.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 62648
Build 59532: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Fri, Feb 28, 2:51 AM
This revision was automatically updated to reflect the committed changes.