[UDP]: saddr_cmp function should take const socket pointers
authorDavid S. Miller <davem@sunset.davemloft.net>
Sun, 27 Aug 2006 03:10:15 +0000 (20:10 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 22:18:23 +0000 (15:18 -0700)
commite3b4eadbea77ecb3c3a74d1bc81b392f454c7f2e
treea94577b99959414edd2b76d5005b5d361badc5a6
parentbed53ea7fef37820b7c92ad74feff1b817c6aae3
[UDP]: saddr_cmp function should take const socket pointers

This also kills a warning while building ipv6:

net/ipv6/udp.c: In function ‘udp_v6_get_port’:
net/ipv6/udp.c:66: warning: passing argument 3 of ‘udp_get_port’ from incompatible pointer type

Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/udp.h
net/ipv4/udp.c