commit | 222440996d6daf635bed6cb35041be22ede3e8a0 | [log] [tgz] |
---|---|---|
author | Julian Wiedmann <jwi@linux.ibm.com> | Wed Sep 05 16:55:10 2018 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Sep 05 22:32:21 2018 -0700 |
tree | 5ed476604db578b0c0d1f0bdc2bfc7cd154f7aff | |
parent | ee28bb56ac5b4c0c08ef10d33cc7adb749bbf4c6 [diff] |
net/af_iucv: drop inbound packets with invalid flags Inbound packets may have any combination of flag bits set in their iucv header. If we don't know how to handle a specific combination, drop the skb instead of leaking it. To clarify what error is returned in this case, replace the hard-coded 0 with the corresponding macro. Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>