igmp: refine skb allocations
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 16 Nov 2010 20:36:42 +0000 (20:36 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Nov 2010 19:02:23 +0000 (11:02 -0800)
commit57e1ab6eaddc9f2c358cd4afb497cda6e3c6821a
tree8fada8cae194efa4c23a0efdc6e9483d9e278f97
parent4c3710afbc333c33100739dec10662b4ee64e219
igmp: refine skb allocations

IGMP allocates MTU sized skbs. This may fail for large MTU (order-2
allocations), so add a fallback to try lower sizes.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/igmp.c