diff options
author | Marek Lindner <lindner_marek@yahoo.de> | 2010-02-19 15:18:10 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-04 00:43:03 (GMT) |
commit | da6d6c7ac366ad3189e494cd78376db7a4f40d59 (patch) | |
tree | d74f8a2adc3027b2c161e164c605954cffd34778 /samples | |
parent | 8d03847c090b12694fb9fa81dbefa7b3e4f10f1d (diff) | |
download | linux-da6d6c7ac366ad3189e494cd78376db7a4f40d59.tar.xz |
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 'samples')
0 files changed, 0 insertions, 0 deletions