remove an unnecessary field in struct tcp_skb_cb
Subsystems (3)
PATCH 1/1 remove an unnecessary field in struct tcp_skb_cb
The urg_ptr field is not used anywhere and is merely confusing.
--
include/net/tcp.h | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
include/net/tcp.h +0 -1
@@ -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 */ };
Quoted 2 lines · Petr Tesarik
The
urg_ptrfield is not used anywhere and is merely confusing.
grep -r "urg_ptr" on my linux tree says otherwise.
Quoted 4 lines · Saikiran Madugula
Quoted 2 lines · Petr Tesarik
The
urg_ptrfield 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
Signature · 1 line
[email protected]
David Miller
maintainerFrom: Andi Kleen <[email protected]>
Date: Thu, 13 Nov 2008 20:57:53 +0100
Quoted 9 lines
Quoted 4 lines · Saikiran Madugula
Quoted 2 lines · Petr Tesarik
The
urg_ptrfield 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.