OSDN Git Service

s390/qeth: reject multicast rxip addresses
authorKittipon Meesompop <kmeesomp@linux.vnet.ibm.com>
Tue, 15 Aug 2017 15:02:48 +0000 (17:02 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Aug 2017 17:58:40 +0000 (10:58 -0700)
commitaa9bea0b081c015ad5d54a2cced0977917775ed7
tree1ed9b8ee6b138234159aebb34ff79cd40168de53
parentd65626ad7c999e6e2ab98ea2160e71cf210c366d
s390/qeth: reject multicast rxip addresses

There exist different commands to add unicast and multicast addresses on
the OSA card. rxip addresses are always set as unicast addresses and
thus just unicast addresses should be allowed.

Adding a multicast address now fails and a grace message is generated.

Signed-off-by: Kittipon Meesompop <kmeesomp@linux.vnet.ibm.com>
Signed-off-by: Julian Wiedmann <jwi@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_l3_sys.c