Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 335595
b: refs/heads/master
c: a66fe16
h: refs/heads/master
i:
  335593: b20628c
  335591: 273eee3
v: v3
  • Loading branch information
Ian Coolidge authored and David S. Miller committed Nov 8, 2012
1 parent 4552903 commit b91b4a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 4fe5f079b499d7ff34fd49f4005f09018c4e80aa
refs/heads/master: a66fe1653f4e81c007a68ca975067432a42df05b
3 changes: 2 additions & 1 deletion trunk/drivers/net/usb/cdc_eem.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
#include <linux/usb/cdc.h>
#include <linux/usb/usbnet.h>
#include <linux/gfp.h>
#include <linux/if_vlan.h>


/*
Expand Down Expand Up @@ -92,7 +93,7 @@ static int eem_bind(struct usbnet *dev, struct usb_interface *intf)

/* no jumbogram (16K) support for now */

dev->net->hard_header_len += EEM_HEAD + ETH_FCS_LEN;
dev->net->hard_header_len += EEM_HEAD + ETH_FCS_LEN + VLAN_HLEN;
dev->hard_mtu = dev->net->mtu + dev->net->hard_header_len;

return 0;
Expand Down

0 comments on commit b91b4a3

Please sign in to comment.