Re: [PATCHv2 1/2]: [NET]: Supporting UDP-Lite (RFC 3828) in Linux

2006-11-15 Thread Gerrit Renker
|   [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.

Signed-off-by: Gerrit Renker  [EMAIL PROTECTED]
---

diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c
index 227655c..ac613ed 100644
--- a/net/ipv4/udp.c
+++ b/net/ipv4/udp.c
@@ -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;
-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCHv2 1/2]: [NET]: Supporting UDP-Lite (RFC 3828) in Linux

2006-11-15 Thread David Miller
From: Gerrit Renker [EMAIL PROTECTED]
Date: Wed, 15 Nov 2006 07:58:17 +

 [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.
 
 Signed-off-by: Gerrit Renker  [EMAIL PROTECTED]

Applied, thanks Gerrit.
-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCHv2 1/2]: [NET]: Supporting UDP-Lite (RFC 3828) in Linux

2006-11-14 Thread David Miller
From: Gerrit Renker [EMAIL PROTECTED]
Date: Tue, 14 Nov 2006 08:48:45 +

 [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.
-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html