net: ipmr: fix setsockopt error return
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Thu, 26 Nov 2015 14:23:49 +0000 (15:23 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Nov 2015 20:26:22 +0000 (15:26 -0500)
commit42e6b89ce4e8a4f02a1e906694d81acf60db6f4d
tree47e399d185e96f60884ba4efcae6700d256b15f2
parent1973a4ea6ceaa47671227c3077f90508ea30897b
net: ipmr: fix setsockopt error return

We can have both errors and we'll return the second one, fix it to
return an error at a time as it's normal. I've overlooked this in my
previous set.

Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ipmr.c