Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 168741
b: refs/heads/master
c: 55369c0
h: refs/heads/master
i:
  168739: 0a4585b
v: v3
  • Loading branch information
Wolfgang Grandegger authored and David S. Miller committed Nov 14, 2009
1 parent fb1c9fc commit df24d95
Show file tree
Hide file tree
Showing 2 changed files with 7 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: b93cf3f0bb45560d2ce62bdcc2181c40660cfdbf
refs/heads/master: 55369c0a6441e95062cfaeef6eefcfb357a31e8c
6 changes: 6 additions & 0 deletions trunk/drivers/net/can/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -629,6 +629,11 @@ static int can_fill_info(struct sk_buff *skb, const struct net_device *dev)
return -EMSGSIZE;
}

static size_t can_get_xstats_size(const struct net_device *dev)
{
return sizeof(struct can_device_stats);
}

static int can_fill_xstats(struct sk_buff *skb, const struct net_device *dev)
{
struct can_priv *priv = netdev_priv(dev);
Expand Down Expand Up @@ -657,6 +662,7 @@ static struct rtnl_link_ops can_link_ops __read_mostly = {
.changelink = can_changelink,
.get_size = can_get_size,
.fill_info = can_fill_info,
.get_xstats_size = can_get_xstats_size,
.fill_xstats = can_fill_xstats,
};

Expand Down

0 comments on commit df24d95

Please sign in to comment.