aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/udp.c')
-rw-r--r--net/ipv4/udp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c
index 7eb76fbf1b4b..28e4cf662ce0 100644
--- a/net/ipv4/udp.c
+++ b/net/ipv4/udp.c
@@ -114,7 +114,7 @@ DEFINE_RWLOCK(udp_hash_lock);
114 114
115static int udp_port_rover; 115static int udp_port_rover;
116 116
117static inline int __udp_lib_lport_inuse(__be16 num, struct hlist_head udptable[]) 117static inline int __udp_lib_lport_inuse(__u16 num, struct hlist_head udptable[])
118{ 118{
119 struct sock *sk; 119 struct sock *sk;
120 struct hlist_node *node; 120 struct hlist_node *node;
@@ -455,7 +455,7 @@ static int udp_push_pending_frames(struct sock *sk, struct udp_sock *up)
455 struct sk_buff *skb; 455 struct sk_buff *skb;
456 struct udphdr *uh; 456 struct udphdr *uh;
457 int err = 0; 457 int err = 0;
458 u32 csum = 0; 458 __wsum csum = 0;
459 459
460 /* Grab the skbuff where UDP header space exists. */ 460 /* Grab the skbuff where UDP header space exists. */
461 if ((skb = skb_peek(&sk->sk_write_queue)) == NULL) 461 if ((skb = skb_peek(&sk->sk_write_queue)) == NULL)