Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 126602
b: refs/heads/master
c: 905862c
h: refs/heads/master
v: v3
  • Loading branch information
Solomon Peachy authored and Greg Kroah-Hartman committed Jan 6, 2009
1 parent 625d7ab commit e13625f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 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: 9d86349e9c8059039d41f5d40ad42d77ef5acf87
refs/heads/master: 905862c9f98676807931c9c832ee12ba0d58bc88
10 changes: 0 additions & 10 deletions trunk/drivers/staging/wlan-ng/p80211conv.c
Original file line number Diff line number Diff line change
Expand Up @@ -444,16 +444,6 @@ int skb_p80211_to_ether( wlandevice_t *wlandev, UINT32 ethconv, struct sk_buff *
/* build an 802.3 frame */
/* allocate space and setup hostbuf */

/* Test for an overlength frame */
if ( payload_length > netdev->mtu ) {
/* A bogus length ethfrm has been sent. */
/* Is someone trying an oflow attack? */
WLAN_LOG_ERROR("OTHER frame too large (%d > %d)\n",
payload_length,
netdev->mtu);
return 1;
}

/* Chop off the 802.11 header. */
skb_pull(skb, payload_offset);

Expand Down

0 comments on commit e13625f

Please sign in to comment.