return ret;
}
-/*
- * initial settings for all BCM sockets to be set at socket creation time
- */
-static int bcm_init(struct sock *sk)
-{
- struct bcm_opt *bo = bcm_sk(sk);
-
- bo->bound = 0;
- bo->ifindex = 0;
- bo->dropped_usr_msgs = 0;
- bo->bcm_proc_read = NULL;
-
- bo->tx_ops = NULL;
- bo->rx_ops = NULL;
-
- return 0;
-}
-
/*
* notification handler for netdevice status changes
*/
}
}
+/*
+ * initial settings for all BCM sockets to be set at socket creation time
+ */
+static int bcm_init(struct sock *sk)
+{
+ struct bcm_opt *bo = bcm_sk(sk);
+
+ bo->bound = 0;
+ bo->ifindex = 0;
+ bo->dropped_usr_msgs = 0;
+ bo->bcm_proc_read = NULL;
+
+ bo->tx_ops = NULL;
+ bo->rx_ops = NULL;
+
+ return 0;
+}
+
/*
* standard socket functions
*/