Skip to contentSkip to conversation

Declaring udp protocols has its own proc entry

PATCH Superseded Masatake YAMATO 2 participants 4 messages Aug 10, 2012 – Aug 11, 2012

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 2/15 Declaring udp protocols has its own proc entry

Declaring udp protocols has its own proc entry.

---
 net/ipv4/udp.c | 3 +++
 1 file changed, 3 insertions(+)
net/ipv4/udp.c +3 -0
index b4c3582..2b822ac 100644
@@ -1963,6 +1963,9 @@ struct proto udp_prot = {
 	.compat_getsockopt = compat_udp_getsockopt,
 #endif
 	.clear_sk	   = sk_prot_clear_portaddr_nulls,
+#ifdef CONFIG_PROC_FS
+	.has_own_proc_entry= 1,
+#endif
 };
 EXPORT_SYMBOL(udp_prot);
 
Signature · 1 line
1.7.11.2
#1 lore raw
Quoted 13 lines · Masatake YAMATO

Declaring udp protocols has its own proc entry.

---
 net/ipv4/udp.c | 3 +++
 1 file changed, 3 insertions(+)
net/ipv4/udp.c +0 -0
index b4c3582..2b822ac 100644

net/ipv4/udp.c struct proto udp_prot = { · line 1971

Quoted 9 lines
net/ipv4/udp.c +3 -0
@@ -1963,6 +1963,9 @@ struct proto udp_prot = {
 	.compat_getsockopt = compat_udp_getsockopt,
 #endif
 	.clear_sk	   = sk_prot_clear_portaddr_nulls,
+#ifdef CONFIG_PROC_FS
+	.has_own_proc_entry= 1,
+#endif
 };
 EXPORT_SYMBOL(udp_prot);
 

Two points:

- I haven't seen patch 01/15;
- these patches should go to netdev rather than lkml

#2 lore raw
Quoted 3 lines · Jan Ceuleers

Two points:

- I haven't seen patch 01/15;

Correction: I have.

Quoted 1 line

- these patches should go to netdev rather than lkml

But this is still the case; MAINTAINERS would have told you that.

#3 lore raw
Quoted 10 lines · Jan Ceuleers
Quoted 3 lines

Two points:

- I haven't seen patch 01/15;

Correction: I have.

Quoted 1 line

- these patches should go to netdev rather than lkml

But this is still the case; MAINTAINERS would have told you that.

Thanks. After reflecting the suggestion from Alan Cox to the patches, I will v2 patches to netdev.

Masatake YAMATO