From: Mike Rapoport <mike.rapoport@xxxxxxxxxxxxxxxxxx> Date: Tue, 1 Apr 2014 09:23:01 +0300 > If the vxlan interface is created without explicit group definition, > there are corner cases which may cause kernel panic. > > For instance, in the following scenario: ... > When vxlan interface is created without explicit group definition, the > default_dst protocol family is initialiazed to AF_UNSPEC and the driver > assumes IPv4 configuration. On the other side, the default_dst protocol > family is used to differentiate between IPv4 and IPv6 cases and, since, > AF_UNSPEC != AF_INET, the processing takes the IPv6 path. > > Making the IPv4 assumption explicit by settting default_dst protocol > family to AF_INET4 and preventing mixing of IPv4 and IPv6 addresses in > snooped fdb entries fixes the corner case crashes. > > Signed-off-by: Mike Rapoport <mike.rapoport@xxxxxxxxxxxxxxxxxx> > --- > > This can happen starting from 3.12 when IPv6 support was merged to vxlan. Looks good to me, thanks for following up on this. Applied and queued up for -stable. -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html