diff options
author | Marek Lindner <lindner_marek@yahoo.de> | 2010-02-19 16:18:10 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-03 16:43:03 -0800 |
commit | da6d6c7ac366ad3189e494cd78376db7a4f40d59 (patch) | |
tree | d74f8a2adc3027b2c161e164c605954cffd34778 /drivers/ata/pata_cs5536.c | |
parent | 8d03847c090b12694fb9fa81dbefa7b3e4f10f1d (diff) |
Staging: batman-adv: avoid crash on memory allocation error
skb_share_check() returns NULL if it can't allocate more memory but
it still frees the skbuff.
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/ata/pata_cs5536.c')
0 files changed, 0 insertions, 0 deletions