]> git.hungrycats.org Git - linux/commitdiff
af_packet: remove a stray tab in packet_set_ring()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 18 Feb 2014 12:20:51 +0000 (15:20 +0300)
committerJiri Slaby <jslaby@suse.cz>
Wed, 1 Mar 2017 19:27:49 +0000 (20:27 +0100)
commit d7cf0c34af067555737193b6c1aa7abaa677f29c upstream.

At first glance it looks like there is a missing curly brace but
actually the code works the same either way.  I have adjusted the
indenting but left the code the same.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
net/packet/af_packet.c

index 3b6e9f551175d009846b586995294b4f23e30ab9..dfea5968a5822927166252f94b0bd8aa4595aa26 100644 (file)
@@ -3677,7 +3677,7 @@ static int packet_set_ring(struct sock *sk, union tpacket_req_u *req_u,
                 */
                        if (!tx_ring)
                                init_prb_bdqc(po, rb, pg_vec, req_u, tx_ring);
-                               break;
+                       break;
                default:
                        break;
                }