The urg_ptr field is not used anywhere and is merely confusing.
Signed-off-by: Petr Tesarik <[email protected]>
--
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 */
};
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.
Saikiran Madugula <[email protected]> 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
--
[email protected]
From: Andi Kleen <[email protected]>
Date: Thu, 13 Nov 2008 20:57:53 +0100
> Saikiran Madugula <[email protected]> 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.