Skip to content

Commit

Permalink
ipv6: fix incorrect type in declaration
Browse files Browse the repository at this point in the history
Introduced by 1397ed3
  "ipv6: add flowinfo for tcp6 pkt_options for all cases"

Reported-by: kbuild test robot <fengguang.wu@intel.com>

V2: fix the title, add empty line after the declaration (Sergei Shtylyov
feedbacks)

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Florent Fourcot authored and David S. Miller committed Dec 12, 2013
1 parent 335802d commit 6853605
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion net/ipv6/ipv6_sockglue.c
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,8 @@ static int do_ipv6_getsockopt(struct sock *sk, int level, int optname,
put_cmsg(&msg, SOL_IPV6, IPV6_2292HOPLIMIT, sizeof(hlim), &hlim);
}
if (np->rxopt.bits.rxflow) {
int flowinfo = np->rcv_flowinfo;
__be32 flowinfo = np->rcv_flowinfo;

put_cmsg(&msg, SOL_IPV6, IPV6_FLOWINFO, sizeof(flowinfo), &flowinfo);
}
}
Expand Down

0 comments on commit 6853605

Please sign in to comment.