print_setsockopt: fix fall-through bug in SOL_IP switch case

This fixes the bug introduced by commit v4.9-250-ga0a4909.

* net.c (print_setsockopt): Separate SOL_IP case from SOL_PACKET.

Reported-by: Ben Noordhuis <info@bnoordhuis.nl>
This commit is contained in:
Дмитрий Левин 2015-02-08 01:19:06 +00:00
parent 85dc4a11c7
commit 3910d0f67c

1
net.c
View File

@ -1445,6 +1445,7 @@ print_setsockopt(struct tcb *tcp, int level, int name, long addr, int len)
goto done;
#endif /* MCAST_JOIN_GROUP */
}
break;
case SOL_PACKET:
switch (name) {