aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/ndisc.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/ndisc.c')
-rw-r--r--net/ipv6/ndisc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/ndisc.c b/net/ipv6/ndisc.c
index e17116796059..3b56be85234e 100644
--- a/net/ipv6/ndisc.c
+++ b/net/ipv6/ndisc.c
@@ -1191,7 +1191,7 @@ skip_defrtr:
1191 NEIGH_UPDATE_F_ISROUTER); 1191 NEIGH_UPDATE_F_ISROUTER);
1192 } 1192 }
1193 1193
1194 if (ndopts.nd_opts_pi) { 1194 if (in6_dev->cnf.accept_ra_pinfo && ndopts.nd_opts_pi) {
1195 struct nd_opt_hdr *p; 1195 struct nd_opt_hdr *p;
1196 for (p = ndopts.nd_opts_pi; 1196 for (p = ndopts.nd_opts_pi;
1197 p; 1197 p;