Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 654dd6c1 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "genetlink: fix usage of NLM_F_EXCL or NLM_F_REPLACE"

parents c59faa2d ba8b3b55
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -595,7 +595,7 @@ static int genl_family_rcv_msg(struct genl_family *family,
	    !capable(CAP_NET_ADMIN))
		return -EPERM;

	if (nlh->nlmsg_flags & NLM_F_DUMP) {
	if ((nlh->nlmsg_flags & NLM_F_DUMP) == NLM_F_DUMP) {
		int rc;

		if (ops->dumpit == NULL)