public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb•auug.org.au>
To: David Miller <davem@davemloft•net>
Cc: linux-next@vger•kernel.org, James Chapman <jchapman@katalix•com>,
	Cyrill Gorcunov <gorcunov@openvz•org>
Subject: linux-next: manual merge of the net tree
Date: Wed, 24 Dec 2008 10:19:34 +1100	[thread overview]
Message-ID: <20081224101934.0da26dab.sfr@canb.auug.org.au> (raw)

Hi Dave,

Today's linux-next merge of the net tree got a conflict in
drivers/net/ppp_generic.c between commit
739840d529eb7505d3cbfe9d468bf1440c9a8e27 ("ppp: fix segfaults introduced
by netdev_priv changes") from the net-current tree and commit
7a95d267fb62cd6b80ef73be0592bbbe1dbd5df7 ("net: ppp_generic - use idr
technique instead of cardmaps") from the net tree.

I fixed it up (see below) and can carry the fix as necessary.
-- 
Cheers,
Stephen Rothwell                    sfr@canb•auug.org.au
http://www.canb.auug.org.au/~sfr/

diff --cc drivers/net/ppp_generic.c
index 714a230,c832d60..0000000
--- a/drivers/net/ppp_generic.c
+++ b/drivers/net/ppp_generic.c
@@@ -2498,17 -2484,19 +2484,17 @@@ init_ppp_file(struct ppp_file *pf, int 
   */
  static void ppp_shutdown_interface(struct ppp *ppp)
  {
 -	struct net_device *dev;
 -
  	mutex_lock(&all_ppp_mutex);
 -	ppp_lock(ppp);
 -	dev = ppp->dev;
 -	ppp->dev = NULL;
 -	ppp_unlock(ppp);
  	/* This will call dev_close() for us. */
 -	if (dev) {
 -		unregister_netdev(dev);
 -		free_netdev(dev);
 -	}
 +	ppp_lock(ppp);
 +	if (!ppp->closing) {
 +		ppp->closing = 1;
 +		ppp_unlock(ppp);
 +		unregister_netdev(ppp->dev);
 +	} else
 +		ppp_unlock(ppp);
 +
- 	cardmap_set(&all_ppp_units, ppp->file.index, NULL);
+ 	unit_put(&ppp_units_idr, ppp->file.index);
  	ppp->file.dead = 1;
  	ppp->owner = NULL;
  	wake_up_interruptible(&ppp->file.rwait);

             reply	other threads:[~2008-12-23 23:19 UTC|newest]

Thread overview: 77+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-23 23:19 Stephen Rothwell [this message]
2008-12-24  2:15 ` linux-next: manual merge of the net tree David Miller
2008-12-24 14:41 ` Cyrill Gorcunov
  -- strict thread matches above, loose matches on Subject: below --
2008-12-23 23:15 Stephen Rothwell
2008-12-24  2:16 ` David Miller
2008-12-15  3:44 Stephen Rothwell
2008-12-15  6:59 ` David Miller
2008-12-09  2:21 Stephen Rothwell
2008-12-09 22:17 ` J. Bruce Fields
2008-12-09 23:22   ` David Miller
2008-12-09 23:41   ` Stephen Rothwell
2008-12-09  2:13 Stephen Rothwell
2008-12-08  3:48 Stephen Rothwell
2008-12-08  7:26 ` David Miller
2008-12-29  3:53   ` Stephen Rothwell
2008-12-29  4:00     ` David Miller
2008-12-29  4:14       ` Stephen Rothwell
2008-12-01  3:26 Stephen Rothwell
2008-12-01  7:20 ` David Miller
2008-12-01 17:06 ` Mike Frysinger
2008-12-01  3:16 Stephen Rothwell
2008-11-27  3:40 Stephen Rothwell
2008-11-27  8:03 ` David Miller
2008-11-26  6:42 Stephen Rothwell
2008-11-26  6:34 Stephen Rothwell
2008-11-21  2:33 Stephen Rothwell
2008-11-21  2:29 Stephen Rothwell
2008-11-21  4:11 ` David Miller
2008-11-21  4:22   ` Stephen Rothwell
2008-11-20  2:10 Stephen Rothwell
2008-11-18  0:51 Stephen Rothwell
2008-11-12  2:59 Stephen Rothwell
2008-11-12  3:07 ` John W. Linville
2008-11-10  3:02 Stephen Rothwell
2008-11-11  7:00 ` David Miller
2008-11-11  8:24   ` Stephen Rothwell
2008-11-11  9:21     ` David Miller
2008-11-11 23:17       ` Stephen Rothwell
2008-11-07  4:33 Stephen Rothwell
2008-11-07  4:24 Stephen Rothwell
2008-11-07  4:47 ` David Miller
2008-10-29  3:11 Stephen Rothwell
2008-10-29  4:53 ` David Miller
2008-10-29 12:34   ` John W. Linville
2008-10-29 20:20     ` David Miller
2008-08-28  3:55 Stephen Rothwell
2008-08-28  8:15 ` David Miller
2008-07-16  7:00 Stephen Rothwell
2008-07-16  6:56 Stephen Rothwell
2008-07-10  4:02 Stephen Rothwell
2008-07-10 12:11 ` Patrick McHardy
2008-07-08  4:27 Stephen Rothwell
2008-07-08  6:03 ` Tobias Diedrich
2008-07-08 14:23   ` Rafael J. Wysocki
2008-07-08  4:16 Stephen Rothwell
2008-07-08 12:22 ` John W. Linville
2008-07-08 13:00   ` Stephen Rothwell
2008-07-08  4:10 Stephen Rothwell
2008-07-08  5:14 ` David Miller
2008-07-08  5:44 ` David Miller
2008-07-08  6:15   ` Stephen Rothwell
2008-07-03  4:08 Stephen Rothwell
2008-07-03  4:14 ` David Miller
2008-07-03  3:56 Stephen Rothwell
2008-07-03  4:11 ` Stephen Rothwell
2008-07-03  4:13 ` David Miller
2008-07-01  7:19 Stephen Rothwell
2008-07-01  9:33 ` David Miller
2008-07-01 15:09 ` Stephen Rothwell
2008-07-01  7:11 Stephen Rothwell
2008-06-19  3:04 Stephen Rothwell
2008-06-19  5:01 ` David Miller
2008-06-19  5:49   ` Stephen Rothwell
2008-06-13 21:56 linux-next: pending wireless/wireless-current merge conflict John W. Linville
2008-06-25 18:04 ` John W. Linville
2008-06-26  5:40   ` linux-next: manual merge of the net tree Stephen Rothwell
2008-06-26  5:54     ` David Miller
2008-06-26  6:58       ` Stephen Rothwell
2008-06-26  9:08         ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081224101934.0da26dab.sfr@canb.auug.org.au \
    --to=sfr@canb$(echo .)auug.org.au \
    --cc=davem@davemloft$(echo .)net \
    --cc=gorcunov@openvz$(echo .)org \
    --cc=jchapman@katalix$(echo .)com \
    --cc=linux-next@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox