Skip to content

Commit

Permalink
small change
Browse files Browse the repository at this point in the history
  • Loading branch information
beraldoleal committed Feb 14, 2013
1 parent a2bc652 commit 5968881
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions proto.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,9 @@ int netsfs_packet_handler(struct sk_buff *skb, struct net_device *dev, struct pa
network_name,
skb->len);

/* TODO: Put this on a bottom halves, may be a work queue ? */
netsfs_create_by_name(mac_name, S_IFDIR, NULL, &de_mac, NULL);
if (de_mac) {
printk("de_mac found name = %s\n", de_mac->d_iname);
netsfs_inc_inode_size(de_mac->d_inode, skb->len);
netsfs_create_by_name(network_name, S_IFDIR, de_mac, &de_network, NULL);
}

Expand Down

0 comments on commit 5968881

Please sign in to comment.