Commit 68536053600425c24aba031c45f053d447eedd9c

Authored by Florent Fourcot
Committed by David S. Miller
1 parent 335802d1c2

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 }