summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2014-02-18 15:20:51 +0300
committerDavid S. Miller <davem@davemloft.net>2014-02-18 18:02:25 -0500
commitd7cf0c34af067555737193b6c1aa7abaa677f29c (patch)
treef08cec9af9d75d720b362537ec1dca4f3d5dd2b7
parentd3ec67c0e23f86fa1ec9d1d80b6e5d9dc48eb3c4 (diff)
downloadop-kernel-dev-d7cf0c34af067555737193b6c1aa7abaa677f29c.zip
op-kernel-dev-d7cf0c34af067555737193b6c1aa7abaa677f29c.tar.gz
af_packet: remove a stray tab in packet_set_ring()
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>
-rw-r--r--net/packet/af_packet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c
index b5dc116..48a6a93 100644
--- a/net/packet/af_packet.c
+++ b/net/packet/af_packet.c
@@ -3804,7 +3804,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;
}
OpenPOWER on IntegriCloud