From patchwork Thu Oct 8 16:19:39 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hannes Frederic Sowa X-Patchwork-Id: 527811 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 136B3140D8C for ; Fri, 9 Oct 2015 03:19:53 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=stressinduktion.org header.i=@stressinduktion.org header.b=hAxOLTOS; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b=DgVGGJAg; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934429AbbJHQTs (ORCPT ); Thu, 8 Oct 2015 12:19:48 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:38684 "EHLO out5-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934131AbbJHQTs (ORCPT ); Thu, 8 Oct 2015 12:19:48 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 75D7220798 for ; Thu, 8 Oct 2015 12:19:47 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute3.internal (MEProxy); Thu, 08 Oct 2015 12:19:47 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= stressinduktion.org; h=cc:date:from:message-id:subject:to :x-sasl-enc:x-sasl-enc; s=mesmtp; bh=jmlIV09cvN2LSgn//KZmDiGCuko =; b=hAxOLTOSdxqvo0/yKor80mezdeivOGpIHP3ZjVm4+5sDqgTSjse0kwc3+Cj q3TT85sn80yT53JI/POqY0iBHOdzJHrBhCZi//ZmpRJDb6ZqdiKxh6tNFgO8EBVr nKOs3JB8SuGuwJ33dL8GTBmaVehUebD7TVZODU2AsysGlpOY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:message-id:subject:to :x-sasl-enc:x-sasl-enc; s=smtpout; bh=jmlIV09cvN2LSgn//KZmDiGCuk o=; b=DgVGGJAgUis2cMPaBmUPCMYsOCEzRrMyBFUX9p8ElTIqvXh3GzM/JJ1teH QceVBOOP0hmVI61xevoMUzgn19OoP8b/ZgZ6+LT3oxFPhMh+EOIZouWi06M+Ttov almsl06ttmg7tA76lS2RGsLmnVgSWnQVzTwBCqAcbQXzKp6w0= X-Sasl-enc: r9dK8c2dCXxH8ekgUzXQUVcciroGVfw3Ek+tx02q7ovn 1444321187 Received: from u.localhost.localdomain (unknown [217.192.177.51]) by mail.messagingengine.com (Postfix) with ESMTPA id 8922AC00014; Thu, 8 Oct 2015 12:19:46 -0400 (EDT) From: Hannes Frederic Sowa To: netdev@vger.kernel.org Cc: Hannes Frederic Sowa , Julien Muchembled , Eric Dumazet , Nicolas Dumazet Subject: [PATCH net] ipv6: gre: setup default multicast routes over PtP links Date: Thu, 8 Oct 2015 18:19:39 +0200 Message-Id: <1444321179-26425-1-git-send-email-hannes@stressinduktion.org> X-Mailer: git-send-email 2.4.3 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org GRE point-to-point interfaces should also support ipv6 multicast. Setting up default multicast routes on interface creation was forgotten. Add it. Bugzilla: Cc: Julien Muchembled Cc: Eric Dumazet Cc: Nicolas Dumazet Signed-off-by: Hannes Frederic Sowa --- net/ipv6/addrconf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index c8380f1..3aed22f 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c @@ -3119,6 +3119,8 @@ static void addrconf_gre_config(struct net_device *dev) } addrconf_addr_gen(idev, true); + if (dev->flags & IFF_POINTOPOINT) + addrconf_add_mroute(dev); } #endif