[bug report] rxrpc: Add IPv6 support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello David Howells,

The patch 75b54cb57ca3: "rxrpc: Add IPv6 support" from Sep 13, 2016,
leads to the following static checker warning:

	net/rxrpc/peer_object.c:196 rxrpc_assess_MTU_size()
	warn: 'dst' isn't an ERR_PTR

net/rxrpc/peer_object.c
   193                  fl6->fl6_dport = htons(7001);
   194                  fl6->fl6_sport = htons(7000);
   195                  dst = ip6_route_output(&init_net, NULL, fl6);
   196                  if (IS_ERR(dst)) {
                            ^^^^^^^^^^^
Maybe you want to check dst->error?

   197                          _leave(" [route err %ld]", PTR_ERR(dst));
   198                          return;
   199                  }
   200                  break;

regards,
dan carpenter
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux