Re: [PATCH 1/4 2.6.28] cxgb3 - manage a private ip address for iSCSI

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Karen Xie <kxie@...>
Cc: <netdev@...>, <open-iscsi@...>, <linux-scsi@...>, <linux-kernel@...>, <jgarzik@...>, <davem@...>, <michaelc@...>, <swise@...>, <rdreier@...>, <daisyc@...>, <wenxiong@...>, <bhua@...>, <divy@...>, <dm@...>, <leedom@...>, <kxie@...>
Date: Friday, August 22, 2008 - 3:08 pm

On Fri, 22 Aug 2008 11:38:32 -0700
Karen Xie <kxie@chelsio.com> wrote:


could fit in a single 80-col line.


Use NIPQUAD and NIPQUAD_FMT here?


There's not really any need to use __be32 in kernel code.  Plain old
be23 is fine.


This appears to be taking a dotted quad ipv4 address in ascii form,
turning it into a u32 while performing checking?

Surely we have a library function somewhere in networking which does
this?  If not, I'd suggest writing one. 


I'm wondering about ipv6.  Will it never ever be supported?

Even if not, it would perhaps be clearer if this was called
GET_ISCSI_IPV4ADDR?

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 1/4 2.6.28] cxgb3 - manage a private ip address f..., Andrew Morton, (Fri Aug 22, 3:08 pm)