diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv4/igmp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv4/igmp.c b/net/ipv4/igmp.c index 5fff865a4fa7..250cb5e1af48 100644 --- a/net/ipv4/igmp.c +++ b/net/ipv4/igmp.c | |||
@@ -1646,8 +1646,7 @@ static int sf_setstate(struct ip_mc_list *pmc) | |||
1646 | if (dpsf->sf_inaddr == psf->sf_inaddr) | 1646 | if (dpsf->sf_inaddr == psf->sf_inaddr) |
1647 | break; | 1647 | break; |
1648 | if (!dpsf) { | 1648 | if (!dpsf) { |
1649 | dpsf = (struct ip_sf_list *) | 1649 | dpsf = kmalloc(sizeof(*dpsf), GFP_ATOMIC); |
1650 | kmalloc(sizeof(*dpsf), GFP_ATOMIC); | ||
1651 | if (!dpsf) | 1650 | if (!dpsf) |
1652 | continue; | 1651 | continue; |
1653 | *dpsf = *psf; | 1652 | *dpsf = *psf; |