mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
Merge branch 'master' into next
Conflicts: fs/nfsd/nfs4recover.c Manually fixed above to use new creds API functions, e.g. nfs4_save_creds(). Signed-off-by: James Morris <[email protected]>
This commit is contained in:
commit
ec98ce480a
541 changed files with 8260 additions and 4545 deletions
|
|
@ -417,6 +417,8 @@ static int qdisc_dump_stab(struct sk_buff *skb, struct qdisc_size_table *stab)
|
|||
struct nlattr *nest;
|
||||
|
||||
nest = nla_nest_start(skb, TCA_STAB);
|
||||
if (nest == NULL)
|
||||
goto nla_put_failure;
|
||||
NLA_PUT(skb, TCA_STAB_BASE, sizeof(stab->szopts), &stab->szopts);
|
||||
nla_nest_end(skb, nest);
|
||||
|
||||
|
|
|
|||
|
|
@ -270,6 +270,8 @@ static void dev_watchdog_down(struct net_device *dev)
|
|||
void netif_carrier_on(struct net_device *dev)
|
||||
{
|
||||
if (test_and_clear_bit(__LINK_STATE_NOCARRIER, &dev->state)) {
|
||||
if (dev->reg_state == NETREG_UNINITIALIZED)
|
||||
return;
|
||||
linkwatch_fire_event(dev);
|
||||
if (netif_running(dev))
|
||||
__netdev_watchdog_up(dev);
|
||||
|
|
@ -285,8 +287,11 @@ EXPORT_SYMBOL(netif_carrier_on);
|
|||
*/
|
||||
void netif_carrier_off(struct net_device *dev)
|
||||
{
|
||||
if (!test_and_set_bit(__LINK_STATE_NOCARRIER, &dev->state))
|
||||
if (!test_and_set_bit(__LINK_STATE_NOCARRIER, &dev->state)) {
|
||||
if (dev->reg_state == NETREG_UNINITIALIZED)
|
||||
return;
|
||||
linkwatch_fire_event(dev);
|
||||
}
|
||||
}
|
||||
EXPORT_SYMBOL(netif_carrier_off);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue