mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
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:
commit
198d6ba4d7
387 changed files with 11924 additions and 2523 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue