projects
/
platform
/
kernel
/
linux-arm64.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: constify struct net_protocol
[platform/kernel/linux-arm64.git]
/
net
/
ipv4
/
udplite.c
diff --git
a/net/ipv4/udplite.c
b/net/ipv4/udplite.c
index
c784891
..
95248d7
100644
(file)
--- a/
net/ipv4/udplite.c
+++ b/
net/ipv4/udplite.c
@@
-25,7
+25,7
@@
static void udplite_err(struct sk_buff *skb, u32 info)
__udp4_lib_err(skb, info, &udplite_table);
}
-static struct net_protocol udplite_protocol = {
+static
const
struct net_protocol udplite_protocol = {
.handler = udplite_rcv,
.err_handler = udplite_err,
.no_policy = 1,