Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 59041
b: refs/heads/master
c: 4c75209
h: refs/heads/master
i:
  59039: 88f643a
v: v3
  • Loading branch information
YOSHIFUJI Hideaki authored and David S. Miller committed Jul 11, 2007
1 parent 433a211 commit 70e8cfb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 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: bb4dbf9e61d0801927e7df2569bb3dd8287ea301
refs/heads/master: 4c752098f529f41abfc985426a3eca0f2cb96676
4 changes: 2 additions & 2 deletions trunk/include/linux/ipv6.h
Original file line number Diff line number Diff line change
Expand Up @@ -299,8 +299,8 @@ struct ipv6_pinfo {
/* pktoption flags */
union {
struct {
__u16 srcrt:2,
osrcrt:2,
__u16 srcrt:1,
osrcrt:1,
rxinfo:1,
rxoinfo:1,
rxhlim:1,
Expand Down
8 changes: 2 additions & 6 deletions trunk/net/ipv6/ipv6_sockglue.c
Original file line number Diff line number Diff line change
Expand Up @@ -336,16 +336,12 @@ static int do_ipv6_setsockopt(struct sock *sk, int level, int optname,
break;

case IPV6_RECVRTHDR:
if (val < 0 || val > 2)
goto e_inval;
np->rxopt.bits.srcrt = val;
np->rxopt.bits.srcrt = valbool;
retv = 0;
break;

case IPV6_2292RTHDR:
if (val < 0 || val > 2)
goto e_inval;
np->rxopt.bits.osrcrt = val;
np->rxopt.bits.osrcrt = valbool;
retv = 0;
break;

Expand Down

0 comments on commit 70e8cfb

Please sign in to comment.