diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2014-04-22 11:15:34 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-04-23 20:55:30 +0200 |
commit | e676f197a7a9aae9c75b0d9acc97e07de07dd1f0 (patch) | |
tree | db202a9e7297998bde3b43e6cd94092d7c942a25 /drivers/net/ethernet/via | |
parent | Merge branch 'gre_netns' (diff) | |
download | linux-e676f197a7a9aae9c75b0d9acc97e07de07dd1f0.tar.xz linux-e676f197a7a9aae9c75b0d9acc97e07de07dd1f0.zip |
macvlan: Fix leak and NULL dereference on error path
The recent patch that moved broadcasts to process context added
a couple of bugs on the error path where we may dereference NULL
or leak an skb. This patch fixes them.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/via')
0 files changed, 0 insertions, 0 deletions