]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita286df8388f4ea443ecf5596376d7b9d1a55afa6
tree47e399d185e96f60884ba4efcae6700d256b15f2
parentab1e7765c1054b477ae97aac81c87399e52d995c
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