summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_parser.py
diff options
context:
space:
mode:
authorYeounsu Moon <yyyynoom@gmail.com>2025-10-10 00:57:16 +0900
committerDavid S. Miller <davem@davemloft.net>2025-10-12 19:02:16 +0100
commit65946eac6d888d50ae527c4e5c237dbe5cc3a2f2 (patch)
tree767605a77b00f3547b8996490944bd7ea5717087 /scripts/lib/kdoc/kdoc_parser.py
parent3abc0e55ea1fa2250e52bc860e8f24b2b9a2093a (diff)
net: dlink: handle dma_map_single() failure properly
There is no error handling for `dma_map_single()` failures. Add error handling by checking `dma_mapping_error()` and freeing the `skb` using `dev_kfree_skb()` (process context) when it fails. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Signed-off-by: Yeounsu Moon <yyyynoom@gmail.com> Tested-on: D-Link DGE-550T Rev-A3 Suggested-by: Simon Horman <horms@kernel.org> Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions