vxlan: handle skb_clone failure
authorstephen hemminger <stephen@networkplumber.org>
Mon, 17 Jun 2013 19:09:59 +0000 (12:09 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Jun 2013 22:55:47 +0000 (15:55 -0700)
commit7aa27238417a34ec9be2d8eff05ceff319f2d39b
tree27523a1ad89ecad7ac4e12627bd6cb43838144d6
parent26a41ae604381c5cc0caf1c3261ca6b298b5fe69
vxlan: handle skb_clone failure

If skb_clone fails if out of memory then just skip the fanout.

Problem was introduced in 3.10 with:
  commit 6681712d67eef14c4ce793561c3231659153a320
  Author: David Stevens <dlstevens@us.ibm.com>
  Date:   Fri Mar 15 04:35:51 2013 +0000

    vxlan: generalize forwarding tables

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c