netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] remove an unnecessary field in struct tcp_skb_cb
@ 2008-11-13 10:21 Petr Tesarik
  2008-11-13 18:10 ` Saikiran Madugula
  0 siblings, 1 reply; 4+ messages in thread
From: Petr Tesarik @ 2008-11-13 10:21 UTC (permalink / raw)
  To: netdev; +Cc: LKML

The urg_ptr field is not used anywhere and is merely confusing.

Signed-off-by: Petr Tesarik <ptesarik@suse.cz>

--
 include/net/tcp.h     |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/include/net/tcp.h b/include/net/tcp.h
index 438014d..8f26b28 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -590,7 +590,6 @@ struct tcp_skb_cb {
 #define TCPCB_EVER_RETRANS	0x80	/* Ever retransmitted frame	*/
 #define TCPCB_RETRANS		(TCPCB_SACKED_RETRANS|TCPCB_EVER_RETRANS)
 
-	__u16		urg_ptr;	/* Valid w/URG flags is set.	*/
 	__u32		ack_seq;	/* Sequence number ACK'd	*/
 };
 



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] remove an unnecessary field in struct tcp_skb_cb
  2008-11-13 10:21 [PATCH] remove an unnecessary field in struct tcp_skb_cb Petr Tesarik
@ 2008-11-13 18:10 ` Saikiran Madugula
  2008-11-13 19:57   ` Andi Kleen
  0 siblings, 1 reply; 4+ messages in thread
From: Saikiran Madugula @ 2008-11-13 18:10 UTC (permalink / raw)
  To: Petr Tesarik; +Cc: netdev, LKML

Petr Tesarik wrote:
> The urg_ptr field is not used anywhere and is merely confusing.
> 
grep -r "urg_ptr" on my linux tree says otherwise.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] remove an unnecessary field in struct tcp_skb_cb
  2008-11-13 18:10 ` Saikiran Madugula
@ 2008-11-13 19:57   ` Andi Kleen
  2008-11-14  6:55     ` David Miller
  0 siblings, 1 reply; 4+ messages in thread
From: Andi Kleen @ 2008-11-13 19:57 UTC (permalink / raw)
  To: Saikiran Madugula; +Cc: Petr Tesarik, netdev, LKML

Saikiran Madugula <hummerbliss@gmail.com> writes:

> Petr Tesarik wrote:
>> The urg_ptr field is not used anywhere and is merely confusing.
>> 
> grep -r "urg_ptr" on my linux tree says otherwise.

I think you're confusing it with tcphdr's field of the same name.
Petr's patch is correct as far as I can see.

-Andi
-- 
ak@linux.intel.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] remove an unnecessary field in struct tcp_skb_cb
  2008-11-13 19:57   ` Andi Kleen
@ 2008-11-14  6:55     ` David Miller
  0 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2008-11-14  6:55 UTC (permalink / raw)
  To: andi; +Cc: hummerbliss, ptesarik, netdev, linux-kernel

From: Andi Kleen <andi@firstfloor.org>
Date: Thu, 13 Nov 2008 20:57:53 +0100

> Saikiran Madugula <hummerbliss@gmail.com> writes:
> 
> > Petr Tesarik wrote:
> >> The urg_ptr field is not used anywhere and is merely confusing.
> >> 
> > grep -r "urg_ptr" on my linux tree says otherwise.
> 
> I think you're confusing it with tcphdr's field of the same name.
> Petr's patch is correct as far as I can see.

Right, patch applied, thanks everyone.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-11-14  6:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-13 10:21 [PATCH] remove an unnecessary field in struct tcp_skb_cb Petr Tesarik
2008-11-13 18:10 ` Saikiran Madugula
2008-11-13 19:57   ` Andi Kleen
2008-11-14  6:55     ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).