Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 23f33c2d authored by Al Viro's avatar Al Viro Committed by David S. Miller
Browse files

[IPV4]: struct inet_timewait_sock annotations

parent fb99c848
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -120,10 +120,10 @@ struct inet_timewait_sock {
	unsigned char		tw_rcv_wscale;
	/* Socket demultiplex comparisons on incoming packets. */
	/* these five are in inet_sock */
	__u16			tw_sport;
	__u32			tw_daddr __attribute__((aligned(INET_TIMEWAIT_ADDRCMP_ALIGN_BYTES)));
	__u32			tw_rcv_saddr;
	__u16			tw_dport;
	__be16			tw_sport;
	__be32			tw_daddr __attribute__((aligned(INET_TIMEWAIT_ADDRCMP_ALIGN_BYTES)));
	__be32			tw_rcv_saddr;
	__be16			tw_dport;
	__u16			tw_num;
	/* And these are ours. */
	__u8			tw_ipv6only:1;
+1 −1
Original line number Diff line number Diff line
@@ -1763,7 +1763,7 @@ static void get_tcp4_sock(struct sock *sp, char *tmpbuf, int i)

static void get_timewait4_sock(struct inet_timewait_sock *tw, char *tmpbuf, int i)
{
	unsigned int dest, src;
	__be32 dest, src;
	__u16 destp, srcp;
	int ttd = tw->tw_ttd - jiffies;