Re: [PATCH 05/11] iscsi: check net namespace for all iscsi lookup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/6/23 6:29 PM, Chris Leech wrote:
> @@ -4065,8 +4108,10 @@ iscsi_if_recv_msg(struct net *net, struct sk_buff *skb,
>  					      ev->u.c_session.cmds_max,
>  					      ev->u.c_session.queue_depth);
>  		break;
> +	/* MARK */

Got an extra comment in there.

>  	case ISCSI_UEVENT_CREATE_BOUND_SESSION:
> -		ep = iscsi_lookup_endpoint(ev->u.c_bound_session.ep_handle);
> +		ep = iscsi_lookup_endpoint(net,
> +					   ev->u.c_bound_session.ep_handle);




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux