]> Pileus Git - ~andy/linux/blobdiff - net/sctp/ipv6.c
ipv4/route/rtnl: get mcast attributes when dst is multicast
[~andy/linux] / net / sctp / ipv6.c
index ea14cb44529528124e2bdd24988a59f1cacc2569..f3f0f4dc31dd3adf33033e071e02cb891b982719 100644 (file)
@@ -345,7 +345,7 @@ static void sctp_v6_get_dst(struct sctp_transport *t, union sctp_addr *saddr,
        }
 
 out:
-       if (!IS_ERR(dst)) {
+       if (!IS_ERR_OR_NULL(dst)) {
                struct rt6_info *rt;
                rt = (struct rt6_info *)dst;
                t->dst = dst;