Page MenuHomeFreeBSD

jail: Fix output of IPv[46] addresses of DDB `show prison`
ClosedPublic

Authored by zlei on Dec 18 2022, 11:09 AM.
Tags
None
Referenced Files
F160486531: D37732.diff
Thu, Jun 25, 12:34 AM
Unknown Object (File)
Wed, Jun 24, 6:32 AM
Unknown Object (File)
Fri, Jun 19, 1:10 AM
Unknown Object (File)
Mon, Jun 15, 3:02 PM
Unknown Object (File)
Tue, Jun 9, 11:32 AM
Unknown Object (File)
Mon, Jun 8, 10:09 AM
Unknown Object (File)
May 20 2026, 9:41 AM
Unknown Object (File)
May 17 2026, 7:14 PM
Subscribers

Details

Summary

Fixes: eb8dcdeac22d jail: network epoch protection for IP address lists

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

zlei requested review of this revision.Dec 18 2022, 11:09 AM
zlei added reviewers: kp, melifaro.

LGTM!
Do you think it would be possible to convert PR_IP to be static inline function, so that kind of erros are spotted by the compiler?

This revision is now accepted and ready to land.Dec 18 2022, 2:52 PM

LGTM!
Do you think it would be possible to convert PR_IP to be static inline function, so that kind of erros are spotted by the compiler?

I'll take a look at that. Smart compilers help a lot ;)

zlei retitled this revision from jail: Fix output of IPv[4,6] addresses of DDB `show prison` to jail: Fix output of IPv[46] addresses of DDB `show prison`.Dec 18 2022, 4:13 PM
zlei edited the summary of this revision. (Show Details)
In D37732#858186, @zlei wrote:

LGTM!
Do you think it would be possible to convert PR_IP to be static inline function, so that kind of erros are spotted by the compiler?

I'll take a look at that. Smart compilers help a lot ;)

Please see D37874 .