{"shas":[["55aee10dec477254241e4f72968f92e0543b33ad","a0baddf32b28d2f9429941ed4af2fe636e210591@gmail.com","vlan: fix GVRP at dismantle time\n\nip link add link eth2 eth2.103 type vlan id 103 gvrp on loose_binding on\nip link set eth2.103 up\nrmmod tg3    # driver providing eth2\n\n BUG: unable to handle kernel NULL pointer dereference at           (null)\n IP: [<ffffffffa0030c9e>] garp_request_leave+0x3e/0xc0 [garp]\n PGD 11d251067 PUD 11b9e0067 PMD 0\n Oops: 0000 [#1] SMP\n last sysfs file: /sys/devices/virtual/net/eth2.104/ifindex\n CPU 0\n Modules linked in: tg3(-) 8021q garp nfsd lockd auth_rpcgss sunrpc libphy sg [last unloaded: x_tables]\n\n Pid: 11494, comm: rmmod Tainted: G        W   2.6.39-rc6-00261-gfd71257-dirty #580 HP ProLiant BL460c G6\n RIP: 0010:[<ffffffffa0030c9e>]  [<ffffffffa0030c9e>] garp_request_leave+0x3e/0xc0 [garp]\n RSP: 0018:ffff88007a19bae8  EFLAGS: 00010286\n RAX: 0000000000000000 RBX: ffff88011b5e2000 RCX: 0000000000000002\n RDX: 0000000000000000 RSI: 0000000000000175 RDI: ffffffffa0030d5b\n RBP: ffff88007a19bb18 R08: 0000000000000001 R09: ffff88011bd64a00\n R10: ffff88011d34ec00 R11: 0000000000000000 R12: 0000000000000002\n R13: ffff88007a19bc48 R14: ffff88007a19bb88 R15: 0000000000000001\n FS:  0000000000000000(0000) GS:ffff88011fc00000(0063) knlGS:00000000f77d76c0\n CS:  0010 DS: 002b ES: 002b CR0: 000000008005003b\n CR2: 0000000000000000 CR3: 000000011a675000 CR4: 00000000000006f0\n DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000\n DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400\n Process rmmod (pid: 11494, threadinfo ffff88007a19a000, task ffff8800798595c0)\n Stack:\n  ffff88007a19bb36 ffff88011c84b800 ffff88011b5e2000 ffff88007a19bc48\n  ffff88007a19bb88 0000000000000006 ffff88007a19bb38 ffffffffa003a5f6\n  ffff88007a19bb38 670088007a19bba8 ffff88007a19bb58 ffffffffa00397e7\n Call Trace:\n  [<ffffffffa003a5f6>] vlan_gvrp_request_leave+0x46/0x50 [8021q]\n  [<ffffffffa00397e7>] vlan_dev_stop+0xb7/0xc0 [8021q]\n  [<ffffffff8137e427>] __dev_close_many+0x87/0xe0\n  [<ffffffff8137e507>] dev_close_many+0x87/0x110\n  [<ffffffff8137e630>] rollback_registered_many+0xa0/0x240\n  [<ffffffff8137e7e9>] unregister_netdevice_many+0x19/0x60\n  [<ffffffffa00389eb>] vlan_device_event+0x53b/0x550 [8021q]\n  [<ffffffff8143f448>] ? ip6mr_device_event+0xa8/0xd0\n  [<ffffffff81479d03>] notifier_call_chain+0x53/0x80\n  [<ffffffff81062539>] __raw_notifier_call_chain+0x9/0x10\n  [<ffffffff81062551>] raw_notifier_call_chain+0x11/0x20\n  [<ffffffff8137df82>] call_netdevice_notifiers+0x32/0x60\n  [<ffffffff8137e69f>] rollback_registered_many+0x10f/0x240\n  [<ffffffff8137e85f>] rollback_registered+0x2f/0x40\n  [<ffffffff8137e8c8>] unregister_netdevice_queue+0x58/0x90\n  [<ffffffff8137e9eb>] unregister_netdev+0x1b/0x30\n  [<ffffffffa005d73f>] tg3_remove_one+0x6f/0x10b [tg3]\n\nWe should call vlan_gvrp_request_leave() from unregister_vlan_dev(),\nnot from vlan_dev_stop(), because vlan_gvrp_uninit_applicant()\nis called right after unregister_netdevice_queue(). In batch mode,\nunregister_netdevice_queue() doesn’t immediately call vlan_dev_stop().\n\nSigned-off-by: Eric Dumazet <eric.dumazet@gmail.com>\nSigned-off-by: David S. Miller <davem@davemloft.net>","Eric Dumazet"],["e14a599335427f81bbb0008963e59aa9c6449dce","a0baddf32b28d2f9429941ed4af2fe636e210591@gmail.com","net: dev_close() should check IFF_UP\n\nCommit 443457242beb (factorize sync-rcu call in\nunregister_netdevice_many) mistakenly removed one test from dev_close()\n\nFollowing actions trigger a BUG :\n\nmodprobe bonding\nmodprobe dummy\nifconfig bond0 up\nifenslave bond0 dummy0\nrmmod dummy\n\ndev_close() must not close a non IFF_UP device.\n\nWith help from Frank Blaschka and Einar EL Lueck\n\nReported-by: Frank Blaschka <blaschka@linux.vnet.ibm.com>\nReported-by: Einar EL Lueck <ELELUECK@de.ibm.com>\nSigned-off-by: Eric Dumazet <eric.dumazet@gmail.com>\nSigned-off-by: David S. Miller <davem@davemloft.net>","Eric Dumazet"],["43a4dea4c9d44baae38ddc14b9b6d86fde4c8b88","66deb1d63f85161cc287ce2bac0c65cb5ae958a7@secunet.com","xfrm: Assign the inner mode output function to the dst entry\n\nAs it is, we assign the outer modes output function to the dst entry\nwhen we create the xfrm bundle. This leads to two problems on interfamily\nscenarios. We might insert ipv4 packets into ip6_fragment when called\nfrom xfrm6_output. The system crashes if we try to fragment an ipv4\npacket with ip6_fragment. This issue was introduced with git commit\nad0081e4 (ipv6: Fragment locally generated tunnel-mode IPSec6 packets\nas needed). The second issue is, that we might insert ipv4 packets in\nnetfilter6 and vice versa on interfamily scenarios.\n\nWith this patch we assign the inner mode output function to the dst entry\nwhen we create the xfrm bundle. So xfrm4_output/xfrm6_output from the inner\nmode is used and the right fragmentation and netfilter functions are called.\nWe switch then to outer mode with the output_finish functions.\n\nSigned-off-by: Steffen Klassert <steffen.klassert@secunet.com>\nSigned-off-by: David S. Miller <davem@davemloft.net>","Steffen Klassert"],["6fa5ddcc675b937f94d05628e8997c07a80c6cb9","66deb1d63f85161cc287ce2bac0c65cb5ae958a7@secunet.com","xfrm: Don't allow esn with disabled anti replay detection\n\nUnlike the standard case, disabled anti replay detection needs some\nnontrivial extra treatment on ESN. RFC 4303 states:\n\nNote: If a receiver chooses to not enable anti-replay for an SA, then\nthe receiver SHOULD NOT negotiate ESN in an SA management protocol.\nUse of ESN creates a need for the receiver to manage the anti-replay\nwindow (in order to determine the correct value for the high-order\nbits of the ESN, which are employed in the ICV computation), which is\ngenerally contrary to the notion of disabling anti-replay for an SA.\n\nSo return an error if an ESN state with disabled anti replay detection\nis inserted for now and add the extra treatment later if we need it.\n\nSigned-off-by: Steffen Klassert <steffen.klassert@secunet.com>\nSigned-off-by: David S. Miller <davem@davemloft.net>","Steffen Klassert"],["aae1e743fee2b5523fb31ee050295f062cb26a31","aeade43d0f8ae14e7c44fa81fe17c1635ae376fe@redhat.com","net/usb: mark LG VL600 LTE modem ethernet interface as WWAN\n\nLike other mobile broadband device ethernet interfaces, mark the LG\nVL600 with the 'wwan' devtype so userspace knows it needs additional\nconfiguration via the AT port before the interface can be used.\n\nSigned-off-by: Dan Williams <dcbw@redhat.com>\nSigned-off-by: David S. Miller <davem@davemloft.net>","Dan Williams"],["0d4420a90b51abdea71585f571bad6d789ff8eb7","06a38fb2ed1a2d0a17f4f06761ac2e5ace5a31ab@hartkopp.net","slcan: fix ldisc->open retval\n\nTTY layer expects 0 if the ldisc->open operation succeeded.\n\nReported-by: Matvejchikov Ilya <matvejchikov@gmail.com>\nSigned-off-by: Oliver Hartkopp <socketcan@hartkopp.net>\nSigned-off-by: David S. Miller <davem@davemloft.net>","Oliver Hartkopp"],["9bbc052d5e63512b0ce4e201ea97e12fba9fda82","fe08d3c717adf2ae63592e4c9aec6e3e404d8e3e@davemloft.net","Merge branch 'pablo/nf-2.6-updates' of git://1984.lsi.us.es/net-2.6","David S. Miller"],["21a43e397e7f66d3be44e09b54045f1a67838cc0","d8cd2994e15bc61ddb2b113030bda55eebc3a0fe@google.com","slub: Revert \"[PARISC] slub: fix panic with DISCONTIGMEM\"\n\nThis reverts commit 4a5fa3590f09, which did not allow SLUB to be used\non architectures that use DISCONTIGMEM without compiling NUMA support\nwithout CONFIG_BROKEN also set.\n\nThe slub panic that it was intended to prevent is addressed by\nd9b41e0b54fd (\"[PARISC] set memory ranges in N_NORMAL_MEMORY when\nonlined\") on parisc so there is no further slub issues with such a\nconfiguration.\n\nThe reverts allows SLUB now to be used on such architectures since\nthere haven't been any reports of additional errors.\n\nCc: James Bottomley <James.Bottomley@suse.de>\nSigned-off-by: David Rientjes <rientjes@google.com>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","David Rientjes"],["9f381a61f58bb6487c93ce2233bb9992f8ea9211","69652caca27c8b940640ad396ab71f93cacec34f@linux-foundation.org","Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6\n\n* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (27 commits)\n  slcan: fix ldisc->open retval\n  net/usb: mark LG VL600 LTE modem ethernet interface as WWAN\n  xfrm: Don't allow esn with disabled anti replay detection\n  xfrm: Assign the inner mode output function to the dst entry\n  net: dev_close() should check IFF_UP\n  vlan: fix GVRP at dismantle time\n  netfilter: revert a2361c8735e07322023aedc36e4938b35af31eb0\n  netfilter: IPv6: fix DSCP mangle code\n  netfilter: IPv6: initialize TOS field in REJECT target module\n  IPVS: init and cleanup restructuring\n  IPVS: Change of socket usage to enable name space exit.\n  netfilter: ebtables: only call xt_compat_add_offset once per rule\n  netfilter: fix ebtables compat support\n  netfilter: ctnetlink: fix timestamp support for new conntracks\n  pch_gbe: support ML7223 IOH\n  PCH_GbE : Fixed the issue of checksum judgment\n  PCH_GbE : Fixed the issue of collision detection\n  NET: slip, fix ldisc->open retval\n  be2net: Fixed bugs related to PVID.\n  ehea: fix wrongly reported speed and port\n  ...","Linus Torvalds"]],"repo":"jimc/linux-2.6","actor":"jimc","ref":"refs/heads/master","size":9,"head":"9f381a61f58bb6487c93ce2233bb9992f8ea9211","actor_gravatar":"b736d643d4143bb4edd4e440c632e38c","push_id":31197927}