)]}'
{
  "commit": "877acedc0d3ea07f7b36573ed2f1f479c2c1eefd",
  "tree": "572dfad981cfd3f32e4661cb89cfc88def25bdf8",
  "parents": [
    "1bb5bd2c713cdf19794996fafd7b48da4c4b0113"
  ],
  "author": {
    "name": "Daniel Lezcano",
    "email": "dlezcano@fr.ibm.com",
    "time": "Wed Aug 13 16:15:57 2008 -0700"
  },
  "committer": {
    "name": "David S. Miller",
    "email": "davem@davemloft.net",
    "time": "Wed Aug 13 16:15:57 2008 -0700"
  },
  "message": "netns: Fix crash by making igmp per namespace\n\nThis patch makes the multicast socket to be per namespace.\n\nWhen a network namespace is created, other than the init_net and a\nmulticast packet is received, the kernel goes to a hang or a kernel panic.\n\nHow to reproduce ?\n\n * create a child network namespace\n * create a pair virtual device veth\n    * ip link add type veth\n * move one side to the pair network device to the child namespace\n    * ip link set netns \u003cchildpid\u003e dev veth1\n * ping -I veth0 224.0.0.1\n\nThe bug appears because the function ip_mc_init_dev does not initialize\nthe different multicast fields as it exits because it is not the init_net.\n\nBUG: soft lockup - CPU#0 stuck for 61s! [avahi-daemon:2695]\nModules linked in:\nirq event stamp: 50350\nhardirqs last  enabled at (50349): [\u003cc03ee949\u003e] _spin_unlock_irqrestore+0x34/0x39\nhardirqs last disabled at (50350): [\u003cc03ec639\u003e] schedule+0x9f/0x5ff\nsoftirqs last  enabled at (45712): [\u003cc0374d4b\u003e] ip_setsockopt+0x8e7/0x909\nsoftirqs last disabled at (45710): [\u003cc03ee682\u003e] _spin_lock_bh+0x8/0x27\n\nPid: 2695, comm: avahi-daemon Not tainted (2.6.27-rc2-00029-g0872073 #3)\nEIP: 0060:[\u003cc03ee47c\u003e] EFLAGS: 00000297 CPU: 0\nEIP is at __read_lock_failed+0x8/0x10\nEAX: c4f38810 EBX: c4f38810 ECX: 00000000 EDX: c04cc22e\nESI: fb0000e0 EDI: 00000011 EBP: 0f02000a ESP: c4e3faa0\n DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068\nCR0: 8005003b CR2: 44618a40 CR3: 04e37000 CR4: 000006d0\nDR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000\nDR6: ffff0ff0 DR7: 00000400\n [\u003cc02311f8\u003e] ? _raw_read_lock+0x23/0x25\n [\u003cc0390666\u003e] ? ip_check_mc+0x1c/0x83\n [\u003cc036d478\u003e] ? ip_route_input+0x229/0xe92\n [\u003cc022e2e4\u003e] ? trace_hardirqs_on_thunk+0xc/0x10\n [\u003cc0104c9c\u003e] ? do_IRQ+0x69/0x7d\n [\u003cc0102e64\u003e] ? restore_nocheck_notrace+0x0/0xe\n [\u003cc036fdba\u003e] ? ip_rcv+0x227/0x505\n [\u003cc0358764\u003e] ? netif_receive_skb+0xfe/0x2b3\n [\u003cc03588d2\u003e] ? netif_receive_skb+0x26c/0x2b3\n [\u003cc035af31\u003e] ? process_backlog+0x73/0xbd\n [\u003cc035a8cd\u003e] ? net_rx_action+0xc1/0x1ae\n [\u003cc01218a8\u003e] ? __do_softirq+0x7b/0xef\n [\u003cc0121953\u003e] ? do_softirq+0x37/0x4d\n [\u003cc035b50d\u003e] ? dev_queue_xmit+0x3d4/0x40b\n [\u003cc0122037\u003e] ? local_bh_enable+0x96/0xab\n [\u003cc035b50d\u003e] ? dev_queue_xmit+0x3d4/0x40b\n [\u003cc012181e\u003e] ? _local_bh_enable+0x79/0x88\n [\u003cc035fcb8\u003e] ? neigh_resolve_output+0x20f/0x239\n [\u003cc0373118\u003e] ? ip_finish_output+0x1df/0x209\n [\u003cc0373364\u003e] ? ip_dev_loopback_xmit+0x62/0x66\n [\u003cc0371db5\u003e] ? ip_local_out+0x15/0x17\n [\u003cc0372013\u003e] ? ip_push_pending_frames+0x25c/0x2bb\n [\u003cc03891b8\u003e] ? udp_push_pending_frames+0x2bb/0x30e\n [\u003cc038a189\u003e] ? udp_sendmsg+0x413/0x51d\n [\u003cc038a1a9\u003e] ? udp_sendmsg+0x433/0x51d\n [\u003cc038f927\u003e] ? inet_sendmsg+0x35/0x3f\n [\u003cc034f092\u003e] ? sock_sendmsg+0xb8/0xd1\n [\u003cc012d554\u003e] ? autoremove_wake_function+0x0/0x2b\n [\u003cc022e6de\u003e] ? copy_from_user+0x32/0x5e\n [\u003cc022e6de\u003e] ? copy_from_user+0x32/0x5e\n [\u003cc034f238\u003e] ? sys_sendmsg+0x18d/0x1f0\n [\u003cc0175e90\u003e] ? pipe_write+0x3cb/0x3d7\n [\u003cc0170347\u003e] ? do_sync_write+0xbe/0x105\n [\u003cc012d554\u003e] ? autoremove_wake_function+0x0/0x2b\n [\u003cc03503b2\u003e] ? sys_socketcall+0x176/0x1b0\n [\u003cc01085ea\u003e] ? syscall_trace_enter+0x6c/0x7b\n [\u003cc0102e1a\u003e] ? syscall_call+0x7/0xb\n\nSigned-off-by: Daniel Lezcano \u003cdlezcano@fr.ibm.com\u003e\nSigned-off-by: David S. Miller \u003cdavem@davemloft.net\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6203ece53606e63e0b36f0b377ed84794f474ef5",
      "old_mode": 33188,
      "old_path": "net/ipv4/igmp.c",
      "new_id": "f70fac612596168981f85e052790b53fa4743836",
      "new_mode": 33188,
      "new_path": "net/ipv4/igmp.c"
    }
  ]
}
