projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sock: struct proto hash function may error
[cascardo/linux.git]
/
include
/
net
/
udp.h
diff --git
a/include/net/udp.h
b/include/net/udp.h
index
2842541
..
92927f7
100644
(file)
--- a/
include/net/udp.h
+++ b/
include/net/udp.h
@@
-177,9
+177,10
@@
static inline struct udphdr *udp_gro_udphdr(struct sk_buff *skb)
}
/* hash routines shared between UDPv4/6 and UDP-Litev4/6 */
-static inline
void
udp_lib_hash(struct sock *sk)
+static inline
int
udp_lib_hash(struct sock *sk)
{
BUG();
+ return 0;
}
void udp_lib_unhash(struct sock *sk);