mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
Currently if attribute parsing fails and the genl family does not support parallel operation, the error code returned by __nlmsg_parse() is discarded by genl_family_rcv_msg_attrs_parse(). Be sure to report the error for all genl families. Fixes:c10e6cf85e("net: genetlink: push attrbuf allocation and parsing to a separate function") Fixes:ab5b526da0("net: genetlink: always allocate separate attrs for dumpit ops") Signed-off-by: Paolo Abeni <[email protected]> Reviewed-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>