Skip to contentSkip to conversation

: [NET]: Supporting UDP-Lite (RFC 3828) in Linux

PATCH David Miller 2 participants 3 messages Nov 15, 2006 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore

David Miller

author maintainer
#1 lore raw
In reply to a message not in the archive

From: Gerrit Renker <[email protected]>
Date: Tue, 14 Nov 2006 08:48:45 +0000

Quoted 10 lines

[NET]: Supporting UDP-Lite (RFC 3828) in Linux

This is a revision of the previously submitted patch, which alters the way files are organized and compiled in the following manner:

* UDP and UDP-Lite now use separate object files
* source file dependencies resolved via header files net/ipv{4,6}/udp_impl.h
* order of inclusion files in udp.c/udplite.c adapted accordingly

Looks excellent, applied to net-2.6.20, thanks Gerrit.

#2 lore raw

| > [NET]: Supporting UDP-Lite (RFC 3828) in Linux | applied to net-2.6.20, thanks Gerrit.
Many thanks indeed. During these changes I accidentally forgot to restore udp_push_pending_frames to its static state.

Can you please consider the attached patch --

[NET/IPv4]: Make udp_push_pending_frames static
udp_push_pending_frames is only referenced within net/ipv4/udp.c and hence can remain static.

---

net/ipv4/udp.c +1 -1
index 227655c..ac613ed 100644
@@ -447,7 +447,7 @@ static void udp4_hwcsum_outgoing(struct 
 /*
  * Push out all pending data as one UDP datagram. Socket is locked.
  */
-int udp_push_pending_frames(struct sock *sk, struct udp_sock *up)
+static int udp_push_pending_frames(struct sock *sk, struct udp_sock *up)
 {
 	struct inet_sock *inet = inet_sk(sk);
 	struct flowi *fl = &inet->cork.fl;
author maintainer Applied
#3 lore raw

From: Gerrit Renker <[email protected]>
Date: Wed, 15 Nov 2006 07:58:17 +0000

Quoted 5 lines

[NET/IPv4]: Make udp_push_pending_frames static
udp_push_pending_frames is only referenced within net/ipv4/udp.c and hence can remain static.

Applied, thanks Gerrit.