Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts: drivers/isdn/i4l/isdn_net.c fs/cifs/connect.c
This commit is contained in:
@@ -148,8 +148,8 @@ static int pn_send(struct sk_buff *skb, struct net_device *dev,
|
||||
struct phonethdr *ph;
|
||||
int err;
|
||||
|
||||
if (skb->len + 2 > 0xffff) {
|
||||
/* Phonet length field would overflow */
|
||||
if (skb->len + 2 > 0xffff /* Phonet length field limit */ ||
|
||||
skb->len + sizeof(struct phonethdr) > dev->mtu) {
|
||||
err = -EMSGSIZE;
|
||||
goto drop;
|
||||
}
|
||||
|
Reference in New Issue
Block a user