projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5f226f
)
e1000: Fix dhcp issue when the skb structure fields are not filled properly
author
Jeff Kirsher
<jeffrey.t.kirsher@intel.com>
Fri, 3 Mar 2006 02:18:08 +0000
(18:18 -0800)
committer
root
<root@jk-desktop.jf.intel.com>
Fri, 3 Mar 2006 02:18:08 +0000
(18:18 -0800)
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: John Ronciak <john.ronciak@intel.com>
drivers/net/e1000/e1000_main.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/e1000/e1000_main.c
b/drivers/net/e1000/e1000_main.c
index 0109cc72746c0720f7030dca884502529b82d7b2..a525c95266f1aeef750d324e3a519559e3c9b94b 100644
(file)
--- a/
drivers/net/e1000/e1000_main.c
+++ b/
drivers/net/e1000/e1000_main.c
@@
-2678,7
+2678,7
@@
e1000_transfer_dhcp_info(struct e1000_adapter *adapter, struct sk_buff *skb)
E1000_MNG_DHCP_COOKIE_STATUS_VLAN_SUPPORT)) )
return 0;
}
- if (
(skb->len > MINIMUM_DHCP_PACKET_SIZE) && (!skb->protocol)
) {
+ if (
skb->len > MINIMUM_DHCP_PACKET_SIZE
) {
struct ethhdr *eth = (struct ethhdr *) skb->data;
if ((htons(ETH_P_IP) == eth->h_proto)) {
const struct iphdr *ip =