|
@@ -607,7 +607,7 @@ static void dev_forward_change(struct inet6_dev *idev)
|
|
dev = idev->dev;
|
|
dev = idev->dev;
|
|
if (idev->cnf.forwarding)
|
|
if (idev->cnf.forwarding)
|
|
dev_disable_lro(dev);
|
|
dev_disable_lro(dev);
|
|
- if (dev && (dev->flags & IFF_MULTICAST)) {
|
|
|
|
|
|
+ if (dev->flags & IFF_MULTICAST) {
|
|
if (idev->cnf.forwarding)
|
|
if (idev->cnf.forwarding)
|
|
ipv6_dev_mc_inc(dev, &in6addr_linklocal_allrouters);
|
|
ipv6_dev_mc_inc(dev, &in6addr_linklocal_allrouters);
|
|
else
|
|
else
|