mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 06:02:05 +00:00
tun: Rename a jump label in update_filter()
Adjust a jump target according to the Linux coding style convention. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
28e8190d2f
commit
3b8d2a693d
@ -753,7 +753,7 @@ static int update_filter(struct tap_filter *filter, void __user *arg)
|
||||
for (; n < uf.count; n++) {
|
||||
if (!is_multicast_ether_addr(addr[n].u)) {
|
||||
err = 0; /* no filter */
|
||||
goto done;
|
||||
goto free_addr;
|
||||
}
|
||||
addr_hash_set(filter->mask, addr[n].u);
|
||||
}
|
||||
@ -769,8 +769,7 @@ static int update_filter(struct tap_filter *filter, void __user *arg)
|
||||
|
||||
/* Return the number of exact filters */
|
||||
err = nexact;
|
||||
|
||||
done:
|
||||
free_addr:
|
||||
kfree(addr);
|
||||
return err;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user