Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 84859
b: refs/heads/master
c: bca65ea
h: refs/heads/master
i:
  84857: 9700021
  84855: 1c2ae7e
v: v3
  • Loading branch information
Florian Westphal authored and David S. Miller committed Feb 8, 2008
1 parent 61959fa commit 32b3112
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 86121fe5b4f170829429433cd99ec7f884c8ae75
refs/heads/master: bca65eae394e95c125837b6eb3a8246c40777608
14 changes: 7 additions & 7 deletions trunk/net/tipc/socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ struct tipc_sock {
static u32 dispatch(struct tipc_port *tport, struct sk_buff *buf);
static void wakeupdispatch(struct tipc_port *tport);

static struct proto_ops packet_ops;
static struct proto_ops stream_ops;
static struct proto_ops msg_ops;
static const struct proto_ops packet_ops;
static const struct proto_ops stream_ops;
static const struct proto_ops msg_ops;

static struct proto tipc_proto;

Expand Down Expand Up @@ -1615,7 +1615,7 @@ static int getsockopt(struct socket *sock,
* Protocol switches for the various types of TIPC sockets
*/

static struct proto_ops msg_ops = {
static const struct proto_ops msg_ops = {
.owner = THIS_MODULE,
.family = AF_TIPC,
.release = release,
Expand All @@ -1636,7 +1636,7 @@ static struct proto_ops msg_ops = {
.sendpage = sock_no_sendpage
};

static struct proto_ops packet_ops = {
static const struct proto_ops packet_ops = {
.owner = THIS_MODULE,
.family = AF_TIPC,
.release = release,
Expand All @@ -1657,7 +1657,7 @@ static struct proto_ops packet_ops = {
.sendpage = sock_no_sendpage
};

static struct proto_ops stream_ops = {
static const struct proto_ops stream_ops = {
.owner = THIS_MODULE,
.family = AF_TIPC,
.release = release,
Expand All @@ -1678,7 +1678,7 @@ static struct proto_ops stream_ops = {
.sendpage = sock_no_sendpage
};

static struct net_proto_family tipc_family_ops = {
static const struct net_proto_family tipc_family_ops = {
.owner = THIS_MODULE,
.family = AF_TIPC,
.create = tipc_create
Expand Down

0 comments on commit 32b3112

Please sign in to comment.