]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commite92dff9d7c5b497b0592a8ace307c4eeeb3dcbae
treea94577b99959414edd2b76d5005b5d361badc5a6
parent4f019a98f3bf451a3e6a8a7f8db92d529379011c
[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