HomeFreeBSD

libbe: pull props for the correct dataset in be_mounted_at()

Description

libbe: pull props for the correct dataset in be_mounted_at()

The props feature to this API was added as a "just in case", with no
planned consumer. It turns out that it was implemented incorrectly,
tapping out props for the BE root (BE's parent) rather than the BE
itself in all cases.

Fetch properties for the dataset that's actually mounted at the queried
path.

Reported by: Christian McDonald <cmcdonald netgate com>

(cherry picked from commit 31190aa02eef05b1b58ba89212dc8c8738770e37)

Details

Provenance
kevansAuthored on Mar 31 2022, 7:19 PM
Parents
rGe7c990ba3f8d: net80211: validate Mesh ID length in ieee80211_parse_beacon
Branches
Unknown
Tags
Unknown