• David Johnson's avatar
    Fix two bugs in skb processing in Linux ipod module. · 0e3d8b99
    David Johnson authored
    One was minor (not rolling the ip optional field length into
    pskb_may_pull check).  The second was not minor; we weren't
    appropriately calling pskb_may_pull to check if the iph + icmph + ipod secret
    was in a linear buf... and then we finally ran across a driver for which
    the ipod secret did not fully fit in the first skb buffer chunk... so
    linearization was actually necessary.
    
    Another way that has been suggested to fix the potential bugs that arise
    from linearization, the use of skb_header_pointer, isn't the most
    desireable option in this case, since it costs more stack memory *for
    each* input ICMP packet (and nearly 100% of the time, it's not an ipod
    and we don't care).
    0e3d8b99
Name
Last commit
Last update
..
linux_mod Loading commit data...
GNUmakefile.in Loading commit data...
README Loading commit data...
apod.in Loading commit data...
ipod.c Loading commit data...
patch-ipod-2.6.18-openvz Loading commit data...
patch-ipod-2.6.20 Loading commit data...
patch-ipod-freebsd-4.7 Loading commit data...
patch-ipod-freebsd-6.2 Loading commit data...
patch-ipod-freebsd-7.2 Loading commit data...
patch-ipod-freebsd-7.3 Loading commit data...
patch-ipod-freebsd-8.1 Loading commit data...
patch-ipod-linux-2.4.19 Loading commit data...
patch-ipod-linux-2.4.2 Loading commit data...
patch-ipod-linux-2.4.20-31.9 Loading commit data...
patch-ipod-linux-2.4.34.4 Loading commit data...
patch-ipod-linux-2.6.11-1.1369_FC4 Loading commit data...
patch-ipod-linux-2.6.12-1.1387_FC4 Loading commit data...
patch-ipod-linux-2.6.23 Loading commit data...
patch-ipod-linux-2.6.25 Loading commit data...
patch-ipod-linux-2.6.34 Loading commit data...
patch-ipod-linux-2.6.40 Loading commit data...