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

Commit cd21f0ac authored by Patrick McHardy's avatar Patrick McHardy Committed by David S. Miller
Browse files

[NETFILTER]: nfnetlink_{queue,log}: return ENOTSUPP for unknown cfg commands

parent c0506365
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -798,7 +798,7 @@ nfulnl_recv_config(struct sock *ctnl, struct sk_buff *skb,
			nf_log_unregister_pf(pf);
			break;
		default:
			ret = -EINVAL;
			ret = -ENOTSUPP;
			break;
		}
	}
+1 −1
Original line number Diff line number Diff line
@@ -740,7 +740,7 @@ nfqnl_recv_config(struct sock *ctnl, struct sk_buff *skb,
		case NFQNL_CFG_CMD_PF_UNBIND:
			break;
		default:
			ret = -EINVAL;
			ret = -ENOTSUPP;
			break;
		}
	}