From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Date: Mon, 19 Aug 2013 07:37:52 -0700 Subject: [Cluster-devel] [Patch net-next v3 7/9] fs: use generic union inet_addr and helper functions In-Reply-To: <1376907278-26377-8-git-send-email-amwang@redhat.com> References: <1376907278-26377-1-git-send-email-amwang@redhat.com> <1376907278-26377-8-git-send-email-amwang@redhat.com> Message-ID: <20130819143752.GA12266@infradead.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit > @@ -1900,17 +1901,9 @@ srcip_matches(struct sockaddr *srcaddr, struct sockaddr *rhs) > { I think your new sockaddr_equal should be equivalent to to this srcip_matches, that is it should warn about and return false for unknown address families.