Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 278313
b: refs/heads/master
c: b536db9
h: refs/heads/master
i:
  278311: c046171
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Dec 1, 2011
1 parent 50b6a08 commit 61872cc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ea1f51beff4ddd0234c59a125290aeb355cf62b2
refs/heads/master: b536db9332cf90c4f44ca809f028645205fa89ad
14 changes: 7 additions & 7 deletions trunk/net/core/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -4459,7 +4459,7 @@ static void dev_change_rx_flags(struct net_device *dev, int flags)

static int __dev_set_promiscuity(struct net_device *dev, int inc)
{
unsigned short old_flags = dev->flags;
unsigned int old_flags = dev->flags;
uid_t uid;
gid_t gid;

Expand Down Expand Up @@ -4516,7 +4516,7 @@ static int __dev_set_promiscuity(struct net_device *dev, int inc)
*/
int dev_set_promiscuity(struct net_device *dev, int inc)
{
unsigned short old_flags = dev->flags;
unsigned int old_flags = dev->flags;
int err;

err = __dev_set_promiscuity(dev, inc);
Expand All @@ -4543,7 +4543,7 @@ EXPORT_SYMBOL(dev_set_promiscuity);

int dev_set_allmulti(struct net_device *dev, int inc)
{
unsigned short old_flags = dev->flags;
unsigned int old_flags = dev->flags;

ASSERT_RTNL();

Expand Down Expand Up @@ -4646,7 +4646,7 @@ EXPORT_SYMBOL(dev_get_flags);

int __dev_change_flags(struct net_device *dev, unsigned int flags)
{
int old_flags = dev->flags;
unsigned int old_flags = dev->flags;
int ret;

ASSERT_RTNL();
Expand Down Expand Up @@ -4729,10 +4729,10 @@ void __dev_notify_flags(struct net_device *dev, unsigned int old_flags)
* Change settings on device based state flags. The flags are
* in the userspace exported format.
*/
int dev_change_flags(struct net_device *dev, unsigned flags)
int dev_change_flags(struct net_device *dev, unsigned int flags)
{
int ret, changes;
int old_flags = dev->flags;
int ret;
unsigned int changes, old_flags = dev->flags;

ret = __dev_change_flags(dev, flags);
if (ret < 0)
Expand Down

0 comments on commit 61872cc

Please sign in to comment.