[PATCH v2] net: enetc: Fix use after free issue in fsl_enetc.c
Ramon Fried
rfried.dev at gmail.com
Fri Sep 2 23:38:56 CEST 2022
On Fri, Sep 2, 2022 at 9:35 AM Siarhei Yasinski
<siarhei.yasinski at sintecs.eu> wrote:
>
> If ethernet connected to SFP, like this:
>
> &enetc_port0 {
> phy-connection-type = "sgmii";
> sfp = <&sfp0>;
> managed = "in-band-status";
> status = "okay";
> };
>
> Then enetc_config_phy returns -ENODEV and memory containing mdio interface is freeing.
What do you mean freeing, can you describe the flow ?
More information about the U-Boot
mailing list