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
F82147725: D37732.id114247.diff
Thu, Apr 25, 11:02 PM
Unknown Object (File)
Jan 13 2024, 7:13 PM
Unknown Object (File)
Dec 23 2023, 3:03 AM
Unknown Object (File)
Dec 11 2023, 5:15 AM
Unknown Object (File)
Nov 30 2023, 10:07 PM
Unknown Object (File)
Nov 27 2023, 8:47 AM
Unknown Object (File)
Nov 26 2023, 2:01 PM
Unknown Object (File)
Nov 22 2023, 6:45 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 .