~ubuntu-branches/ubuntu/maverick/linux-ti-omap4/maverick-updates

« back to all changes in this revision

Viewing changes to net/ipv6/udp.c

  • Committer: Package Import Robot
  • Author(s): Paolo Pisati, Upstream Kernel Changes
  • Date: 2011-12-02 13:04:02 UTC
  • Revision ID: package-import@ubuntu.com-20111202130402-lqya3jfq8779ur2m
Tags: 2.6.35-903.28
* Release Tracking Bug
  - LP: #897740

[ Upstream Kernel Changes ]

* crypto: ghash - Avoid null pointer dereference if no key is set
  - LP: #887299
  - CVE-2011-4081
* xfs: Fix possible memory corruption in xfs_readlink, CVE-2011-4077
  - LP: #887298
  - CVE-2011-4077
* jbd/jbd2: validate sb->s_first in journal_get_superblock()
  - LP: #893148
  - CVE-2011-4132
* hfs: add sanity check for file name length, CVE-2011-4330
  - LP: #894374
  - CVE-2011-4330
* ipv6: udp: fix the wrong headroom check
  - LP: #894373
  - CVE-2011-4326
* mm: make the vma list be doubly linked
  - LP: #893190
* mm: make the mlock() stack guard page checks stricter
  - LP: #893190
* mm: make stack guard page logic use vm_prev pointer
  - LP: #893190
* mm: Move vma_stack_continue into mm.h
  - LP: #672664, #893190
* Yama: fix default relationship to check thread group
  - LP: #737676, #893190
* Yama: use thread group leader when creating match
  - LP: #729839, #893190

Show diffs side-by-side

added added

removed removed

Lines of Context:
1327
1327
        skb->ip_summed = CHECKSUM_NONE;
1328
1328
 
1329
1329
        /* Check if there is enough headroom to insert fragment header. */
1330
 
        if ((skb_headroom(skb) < frag_hdr_sz) &&
 
1330
        if ((skb_mac_header(skb) < skb->head + frag_hdr_sz) &&
1331
1331
            pskb_expand_head(skb, frag_hdr_sz, 0, GFP_ATOMIC))
1332
1332
                goto out;
1333
1333