]> Pileus Git - ~andy/linux/commit
iscsit: add missing endianess conversion in iscsit_check_inaddr_any
authorChristoph Hellwig <hch@infradead.org>
Wed, 26 Sep 2012 12:00:38 +0000 (08:00 -0400)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 2 Oct 2012 21:42:25 +0000 (14:42 -0700)
commitcea0b4ceec5d09330fd80c0185532a502db9c2b7
tree722136e5bb6c4cc47a603f76fe1a53ade48e66ee
parent904753da183566c71211d23c169a80184648c121
iscsit: add missing endianess conversion in iscsit_check_inaddr_any

Sparse noticed that INADDR_ANY needs to be converted to big endian before
it can be stored in struct sockaddr_in.s_addr.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/iscsi_target.c