Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 275695
b: refs/heads/master
c: 06236ac
h: refs/heads/master
i:
  275693: 69bd487
  275691: d5938d9
  275687: a054748
  275679: 0d278db
v: v3
  • Loading branch information
Maciej Żenczykowski authored and David S. Miller committed Nov 14, 2011
1 parent de05cae commit d423ffc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6d74eb9442fb113c97edc88a1c658462db711337
refs/heads/master: 06236ac3726f15124839cf16a9e2730a852dad9b
3 changes: 2 additions & 1 deletion trunk/include/linux/inet_diag.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,10 @@ enum {
INET_DIAG_VEGASINFO,
INET_DIAG_CONG,
INET_DIAG_TOS,
INET_DIAG_TCLASS,
};

#define INET_DIAG_MAX INET_DIAG_TOS
#define INET_DIAG_MAX INET_DIAG_TCLASS


/* INET_DIAG_MEM */
Expand Down
4 changes: 2 additions & 2 deletions trunk/net/ipv4/inet_diag.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ static int inet_csk_diag_fill(struct sock *sk,
&np->rcv_saddr);
ipv6_addr_copy((struct in6_addr *)r->id.idiag_dst,
&np->daddr);
if (ext & (1 << (INET_DIAG_TOS - 1)))
RTA_PUT_U8(skb, INET_DIAG_TOS, np->tclass);
if (ext & (1 << (INET_DIAG_TCLASS - 1)))
RTA_PUT_U8(skb, INET_DIAG_TCLASS, np->tclass);
}
#endif

Expand Down

0 comments on commit d423ffc

Please sign in to comment.