Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.1] libshare: nfs: pass through ipv6 addresses in bracket notation #15697

Merged
merged 1 commit into from
Dec 22, 2023

Conversation

behlendorf
Copy link
Contributor

Motivation and Context

Backport of #11171

Description

Recognize when the host part of a sharenfs attribute is an ipv6 Literal and pass that through without modification.

How Has This Been Tested?

Clean backport from master.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Performance enhancement (non-breaking change which improves efficiency)
  • Code cleanup (non-breaking change which makes code smaller or more readable)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Library ABI change (libzfs, libzfs_core, libnvpair, libuutil and libzfsbootenv)
  • Documentation (a change to man pages or other documentation)

Checklist:

Recognize when the host part of a sharenfs attribute is an ipv6
Literal and pass that through without modification.

Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Felix Dörre <[email protected]>
Closes: openzfs#11171
Closes openzfs#11939
Closes: openzfs#1894
@behlendorf behlendorf added the Status: Code Review Needed Ready for review and testing label Dec 21, 2023
@behlendorf behlendorf merged commit 9e41d5d into openzfs:zfs-2.1.15-staging Dec 22, 2023
7 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Code Review Needed Ready for review and testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants