diff options
author | Aleksander Jan Bajkowski <olek2@wp.pl> | 2022-08-24 23:54:08 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-08-25 12:41:39 -0700 |
commit | c9c3b1775f80fa21f5bff874027d2ccb10f5d90c (patch) | |
tree | 0cf00b5ba91a14b954cf0529123230d8cfae9a51 /scripts/Makefile.modpost | |
parent | c4b6e9341f930e4dd089231c0414758f5f1f9dbd (diff) | |
download | linux-c9c3b1775f80fa21f5bff874027d2ccb10f5d90c.tar.bz2 |
net: lantiq_xrx200: restore buffer if memory allocation failed
In a situation where memory allocation fails, an invalid buffer address
is stored. When this descriptor is used again, the system panics in the
build_skb() function when accessing memory.
Fixes: 7ea6cd16f159 ("lantiq: net: fix duplicated skb in rx descriptor ring")
Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/Makefile.modpost')
0 files changed, 0 insertions, 0 deletions