Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 156899
b: refs/heads/master
c: 993e6f2
h: refs/heads/master
i:
  156897: 1c6b2e5
  156895: 5a904e5
v: v3
  • Loading branch information
Oliver Hartkopp authored and David S. Miller committed Aug 13, 2009
1 parent 2b2e995 commit a372ef0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 839d1624b9dcf31fdc02e47359043bb7bd71d6ca
refs/heads/master: 993e6f2fd487e2acddd711f79cf48f3420731382
7 changes: 7 additions & 0 deletions trunk/drivers/net/can/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -611,11 +611,18 @@ static int can_fill_xstats(struct sk_buff *skb, const struct net_device *dev)
return -EMSGSIZE;
}

static int can_newlink(struct net_device *dev,
struct nlattr *tb[], struct nlattr *data[])
{
return -EOPNOTSUPP;
}

static struct rtnl_link_ops can_link_ops __read_mostly = {
.kind = "can",
.maxtype = IFLA_CAN_MAX,
.policy = can_policy,
.setup = can_setup,
.newlink = can_newlink,
.changelink = can_changelink,
.fill_info = can_fill_info,
.fill_xstats = can_fill_xstats,
Expand Down

0 comments on commit a372ef0

Please sign in to comment.