File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,8 @@ struct proto udplite_prot = {
64
64
.per_cpu_fw_alloc = & udp_memory_per_cpu_fw_alloc ,
65
65
66
66
.sysctl_mem = sysctl_udp_mem ,
67
+ .sysctl_wmem_offset = offsetof(struct net , ipv4 .sysctl_udp_wmem_min ),
68
+ .sysctl_rmem_offset = offsetof(struct net , ipv4 .sysctl_udp_rmem_min ),
67
69
.obj_size = sizeof (struct udp_sock ),
68
70
.h .udp_table = & udplite_table ,
69
71
};
Original file line number Diff line number Diff line change @@ -60,6 +60,8 @@ struct proto udplitev6_prot = {
60
60
.per_cpu_fw_alloc = & udp_memory_per_cpu_fw_alloc ,
61
61
62
62
.sysctl_mem = sysctl_udp_mem ,
63
+ .sysctl_wmem_offset = offsetof(struct net , ipv4 .sysctl_udp_wmem_min ),
64
+ .sysctl_rmem_offset = offsetof(struct net , ipv4 .sysctl_udp_rmem_min ),
63
65
.obj_size = sizeof (struct udp6_sock ),
64
66
.h .udp_table = & udplite_table ,
65
67
};
You can’t perform that action at this time.
0 commit comments