Subject: Re: [PATCH 3/4] iscsi class, libiscsi: Add net config.

From: Mike Christie <[email-masked]>
Date: Wed, 06 May 2009 11:40:54 -0500

Michael Chan wrote:
> Add ISCSI_NETLINK messages to get/set vendor specific information.
> This is to support bnx2i that handles net config of private iSCSI
> IP address in userspace.
> 
> Signed-off-by: Anil Veerabhadrappa <anilgv-dY08KVG/lbpWk0Htik3J/[email-masked]>
> Signed-off-by: Michael Chan <mchan-dY08KVG/lbpWk0Htik3J/[email-masked]>
> Signed-off-by: Mike Christie <[email-masked]>
> Acked-by: David S. Miller <davem-fT/PcQaiUtIeIZ0/[email-masked]>
> ---
>  drivers/scsi/scsi_transport_iscsi.c |   59 ++++++++++++++++++++++++++++++++++-
>  include/scsi/iscsi_if.h             |   14 ++++++++
>  include/scsi/scsi_transport_iscsi.h |    6 +++
>  3 files changed, 78 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/scsi/scsi_transport_iscsi.c b/drivers/scsi/scsi_transport_iscsi.c
> index 0947954..ef3af96 100644
> --- a/drivers/scsi/scsi_transport_iscsi.c
> +++ b/drivers/scsi/scsi_transport_iscsi.c
> @@ -995,6 +995,37 @@ int iscsi_recv_pdu(struct iscsi_cls_conn *conn, struct iscsi_hdr *hdr,
>  }
>  EXPORT_SYMBOL_GPL(iscsi_recv_pdu);
>  
> +extern int iscsi_vendor_priv_mesg(struct Scsi_Host *shost,

Just a cut and paste error probably. You have an extern in there.

> +				  struct iscsi_transport *transport,
> +				  uint16_t priv_op,
> +				  char *data, uint16_t data_size)
> +{