Commit 68536053600425c24aba031c45f053d447eedd9c
Committed by
David S. Miller
1 parent
335802d1c2
Exists in
smarc-imx_3.14.28_1.0.0_ga
and in
1 other branch
ipv6: fix incorrect type in declaration
Introduced by 1397ed35f22d7c30d0b89ba74b6b7829220dfcfd "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>
Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff
net/ipv6/ipv6_sockglue.c
... | ... | @@ -1035,7 +1035,8 @@ |
1035 | 1035 | put_cmsg(&msg, SOL_IPV6, IPV6_2292HOPLIMIT, sizeof(hlim), &hlim); |
1036 | 1036 | } |
1037 | 1037 | if (np->rxopt.bits.rxflow) { |
1038 | - int flowinfo = np->rcv_flowinfo; | |
1038 | + __be32 flowinfo = np->rcv_flowinfo; | |
1039 | + | |
1039 | 1040 | put_cmsg(&msg, SOL_IPV6, IPV6_FLOWINFO, sizeof(flowinfo), &flowinfo); |
1040 | 1041 | } |
1041 | 1042 | } |