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.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/net/ipv6/ndisc.c b/net/ipv6/ndisc.c
index bdfc4ea61941..0d33a7d32125 100644
--- a/net/ipv6/ndisc.c
+++ b/net/ipv6/ndisc.c
@@ -1297,11 +1297,11 @@ skip_defrtr:
1297 } 1297 }
1298 1298
1299 if (ndopts.nd_useropts) { 1299 if (ndopts.nd_useropts) {
1300 struct nd_opt_hdr *opt; 1300 struct nd_opt_hdr *p;
1301 for (opt = ndopts.nd_useropts; 1301 for (p = ndopts.nd_useropts;
1302 opt; 1302 p;
1303 opt = ndisc_next_useropt(opt, ndopts.nd_useropts_end)) { 1303 p = ndisc_next_useropt(p, ndopts.nd_useropts_end)) {
1304 ndisc_ra_useropt(skb, opt); 1304 ndisc_ra_useropt(skb, p);
1305 } 1305 }
1306 } 1306 }
1307 1307