Hi,
I will try to find time, will notify you if starting work on it ;)
Regards,
Rami Rosen
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Sun, Jun 14, 2015 at 08:00:11PM CEST, sfel...@gmail.com wrote:
>On Sun, Jun 14, 2015 at 12:02 AM, Jiri Pirko wrote:
>> Sat, Jun 13, 2015 at 08:04:29PM CEST, sfel...@gmail.com wrote:
>>>From: Scott Feldman
>>>
>>>If device flags ingress packet as "fwd offload", mark the skb->fwd_mark
>>>using the
Sun, Jun 14, 2015 at 07:50:13PM CEST, sfel...@gmail.com wrote:
>On Sat, Jun 13, 2015 at 11:56 PM, Jiri Pirko wrote:
>> Sat, Jun 13, 2015 at 08:04:28PM CEST, sfel...@gmail.com wrote:
>>>From: Scott Feldman
>>>
>>>skb->fwd_mark and dev->fwd_mark are 32-bit and should be unique for device
>>>and may
Ez az üzenet a rendszergazda üzenetközpont valamennyi tulajdonosa webmail
számlák. Jelenleg korszerűsítése a adatbázis-központ és figyelembe email.
Töröljük email segítségével webes e-mail fiókot, hogy nagyobb teret az új
számlákat. Ha még nem frissítette előtt ez az utolsó alkalom, hogy
csinálni.
Use BUG_ON(condition) instead of if(condition)/BUG()
Signed-off-by: Maninder Singh
Reviewed-by: Akhilesh Kumar
---
net/packet/af_packet.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c
index b5989c6..c91d405 100644
---
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 2015/5/5 6:38, Ben Hutchings wrote:
> Brad Spengler pointed out this commit as a candidate for stable:
>
> commit 330966e501ffe282d7184fde4518d5e0c24bc7f8
> Author: Florian Westphal
> Date: Mon Oct 20 13:49:17 2014 +0200
>
> net: make skb_g
Signed-off-by: "Eric W. Biederman"
---
net/bridge/netfilter/nft_reject_bridge.c | 13 ++---
net/ipv6/netfilter/nft_reject_ipv6.c | 6 +++---
net/netfilter/nf_tables_core.c | 4 +---
net/netfilter/nft_log.c | 3 +--
net/netfilter/nft_reject_inet.c
Don't make ip_defrag guess which network namespace it needs
to defragment packets in.
Signed-off-by: "Eric W. Biederman"
---
drivers/net/macvlan.c | 2 +-
include/net/ip.h| 6 +++---
net/ipv4/ip_fragment.c | 8 +++-
net/ipv4/ip_input.c
nft_pktinfo is passed on the stack so this does not bloat any in core
data structures.
By centrally computing this information this makes maintence of the code
simpler, and understading of the code easier.
Signed-off-by: "Eric W. Biederman"
---
include/net/netfilter/nf_tables.h | 3 ++-
1 file
As gre does not have the srckey in the packet gre_pkt_to_tuple
needs to perform a lookup in it's per network namespace tables.
Pass in the proper network namespace to all pkt_to_tuple
implementations to ensure gre (and any similar protocols) can get this
right.
Signed-off-by: "Eric W. Biederman"
Make it explicit which network namespace the packets are being
reassembled in, don't make nf_cf_frag6_gather guess.
Signed-off-by: "Eric W. Biederman"
---
include/net/netfilter/ipv6/nf_defrag_ipv6.h | 2 +-
net/ipv6/netfilter/nf_conntrack_reasm.c | 4 +---
net/ipv6/netfilter/nf_defrag_ipv6_h
Hi Andy
> If so, it just need to enable ENET ipg clock for your cases, not all enet
> clocks.
> Ipg clock is for MDIO bus read/write, for ENET registers accessing.
> (fep->clk_ipg)
O.K, thanks. I will respin the patch with just the ipg clock.
> Which switch phy do you use ? I tried BCM54220 sw
The values of nf_hook_state.hook and nf_hook_ops.hooknum must be the
same by definition.
We are more likely to access the fields in nf_hook_state over the
fields in nf_hook_ops so with a little luck this results in
fewer cache line misses, and slightly more consistent code.
Signed-off-by: "Eric W
Pass a network namespace parameter into the netfilter hooks. At the
call site of the netfilter hooks the path a packet is taking through
the network stack is well known which allows the network namespace to
be easily and reliabily.
This allows the replacement of magic code like
"dev_net(state->in
Signed-off-by: "Eric W. Biederman"
---
net/bridge/netfilter/ebt_log.c | 2 +-
net/bridge/netfilter/ebt_nflog.c | 2 +-
net/ipv4/netfilter/ipt_SYNPROXY.c | 2 +-
net/ipv4/netfilter/ipt_rpfilter.c | 5 ++---
net/ipv6/netfilter/ip6t_REJECT.c | 2 +-
net/ipv6/netfilter/ip6t_SYNPROXY.c
The values of ops->hooknum and state->hook are guaraneted to be equal
making the hook argument to ip6t_do_table, arp_do_table, and
ipt_do_table is unnecessary. Remove the unnecessary hook argument.
In the callers use state->hook instead of ops->hooknum for clarity and
to reduce the number of cache
Nearly everything thing of interest to ebt_do_table is already present
in nf_hook_state. Simplify ebt_do_table by just passing in the skb,
nf_hook_state, and the table. This make the code easier to read and
maintenance easier.
To support this create an nf_hook_state on the stack in ebt_broute
(t
Instead of saying "net = dev_net(state->in?state->in:state->out)"
just say "state->net". As that information is now availabe,
much less confusing and much less error prone.
Signed-off-by: "Eric W. Biederman"
---
net/bridge/netfilter/ebtable_filter.c | 4 ++--
net/bridge/netfilter/ebtab
As xt_action_param lives on the stack this does not bloat any
persistent data structures.
This is a first step in making netfilter code that needs to know
which network namespace it is executing in simpler.
Signed-off-by: "Eric W. Biederman"
---
include/linux/netfilter/x_tables.h | 2 ++
includ
em->net is always set and always available, use it in preference
to dev_net(skb->dev).
Signed-off-by: "Eric W. Biederman"
---
net/sched/em_ipset.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/sched/em_ipset.c b/net/sched/em_ipset.c
index a3d79c8bf3b8..df0328ba6a48
- Add nft_pktinfo.pf to replace ops->pf
- Add nft_pktinfo.hook to replace ops->hooknum
This simplifies the code, makes it more readable, and likely reduces
cache line misses. Maintainability is enhanced as the details of
nft_hook_ops are of no concern to the recpients of nft_pktinfo.
Signed-off-
This appears to have been a dead macro in both nfnetlink_log.c and
nfnetlink_queue_core.c since these pieces of code were added in 2005.
Signed-off-by: "Eric W. Biederman"
---
net/netfilter/nfnetlink_log.c| 2 --
net/netfilter/nfnetlink_queue_core.c | 2 --
2 files changed, 4 deletions(-
While looking into what it would take to route packets out to network
devices in other network namespaces I started looking at the netfilter
hooks, and there is a lot of nasty code to figure out which network
namespace to filter the packets in.
Just passing the network namespace into the netfilte
On 12 June 2015 at 21:16, Thomas Gleixner wrote:
> On Fri, 12 Jun 2015, Baolin Wang wrote:
>
> Sigh. Again threading of the series failed. Some patches are, the
> whole series is not. Can you please get your tools straight?
>
> You neither managed to cc me on the security patch.
>
>> - Modify the
10.06.2015 03:14, David Miller пишет:
From: Alexander Popov
Date: Wed, 10 Jun 2015 02:57:42 +0300
skb_copy_from_linear_data() which doesn't work well for non-linear sk_buff:
The correct fix is to use an SKB copy routine which can
handle non-linear data.
Thanks, David.
I'll prepare the seco
On Fri, Jun 12, 2015 at 09:24:40PM -0700, sfel...@gmail.com wrote:
> From: Scott Feldman
>
> rocker->neigh_tbl_next_index is used to generate unique indices for neigh
> entries programmed into the device. The way new indices were generated was
> racy with the new prepare-commit transaction model
From: Florian Fainelli Sent: Monday, June 15, 2015 3:32
AM
> To: Andrew Lunn; Duan Fugang-B38611
> Cc: David Miller; Cory Tusar; netdev
> Subject: Re: [PATCH] net: fec: Ensure clocks are enabled while using mdio
> bus
>
> Le 06/14/15 07:41, Andrew Lunn a écrit :
> > On Sun, Jun 14, 2015 at 08:07
Hmm. Oliver is marked as the maintainer of the USB CDC code, but
others have touched it more recently. So I'm just wildly adding people
to the cc to comment on this patch and maybe apply it.
Oliver/David/Ben/Bjørn?
Linus
-- Forwarded message --
From: xiaomao
Date
On Sun, Jun 14, 2015 at 3:14 PM, Rami Rosen wrote:
> Hi,
>
> You mention bridge doing ageing vs. device doing
> ageing. AFAIK, there is no way to prevent a bridge from doing aging by
> a sysfs entry. Do you think that preventing bridge aging via sysfs is
> needed?
The topic has been discussed bef
Hi,
You mention bridge doing ageing vs. device doing
ageing. AFAIK, there is no way to prevent a bridge from doing aging by
a sysfs entry. Do you think that preventing bridge aging via sysfs is
needed?
Regards,
Rami Rosen
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the
Le 06/13/15 23:26, Noam Camus a écrit :
> From: Noam Camus
>
> Simple LAN device for debug or management purposes.
> Device supports interrupts for RX and TX(completion).
> Device does not have DMA ability.
>
> Signed-off-by: Noam Camus
> Signed-off-by: Tal Zilcer
> Acked-by: Alexey Brodkin
>
From: Kenneth Klette Jonassen
Date: Fri, 12 Jun 2015 17:24:03 +0200
> Fixes cross-compile to mips.
>
> Signed-off-by: Kenneth Klette Jonassen
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordo
From: marcelo.leit...@gmail.com
Date: Fri, 12 Jun 2015 10:16:41 -0300
> From: Marcelo Ricardo Leitner
>
> ->auto_asconf_splist is per namespace and mangled by functions like
> sctp_setsockopt_auto_asconf() which doesn't guarantee any serialization.
>
> Also, the call to inet_sk_copy_descendant(
Le 06/14/15 07:41, Andrew Lunn a écrit :
> On Sun, Jun 14, 2015 at 08:07:12AM +, Duan Andy wrote:
>> From: Andrew Lunn Sent: Friday, June 12, 2015 11:39 PM
>>> To: David Miller
>>> Cc: Duan Fugang-B38611; Cory Tusar; netdev; Andrew Lunn
>>> Subject: [PATCH] net: fec: Ensure clocks are enabled
@Nicolas: Just saw that you were not responsible for the @NONE m)
Sorry.
Btw. do you know why this @NONE stuff just emerged in 4.1-rc ?
Regards,
Oliver
On 14.06.2015 20:50, Oliver Hartkopp wrote:
On 14.06.2015 12:00, Ulrich Gemkow wrote:
between Linux 4.0.5 and 4.1-rc7 the name as shown by
On 14.06.2015 12:00, Ulrich Gemkow wrote:
between Linux 4.0.5 and 4.1-rc7 the name as shown by "ip link show"
of bridge interfaces (and at least the dummy interface) changed from
(i.e.) br1 to br1@NONE.
This breaks (at least for me :-) userspace (ip link show parsing
scripts). It is easy to sol
From: Scott Feldman
We need to delete from offload the device externally learnded fdbs when any
one of these events happen:
1) Bridge ages out fdb. (When bridge is doing ageing vs. device doing
ageing. If device is doing ageing, it would send SWITCHDEV_FDB_DEL
directly).
2) STP state change f
On Sun, Jun 14, 2015 at 12:02 AM, Jiri Pirko wrote:
> Sat, Jun 13, 2015 at 08:04:29PM CEST, sfel...@gmail.com wrote:
>>From: Scott Feldman
>>
>>If device flags ingress packet as "fwd offload", mark the skb->fwd_mark
>>using the ingress port's dev->fwd_mark. This will be the hint to the
>>kernel
On Sat, Jun 13, 2015 at 11:56 PM, Jiri Pirko wrote:
> Sat, Jun 13, 2015 at 08:04:28PM CEST, sfel...@gmail.com wrote:
>>From: Scott Feldman
>>
>>skb->fwd_mark and dev->fwd_mark are 32-bit and should be unique for device
>>and maybe even unique for a sub-set of ports within device, so add
>>switchd
Hi David,
This is the NFC pull request for 4.2:
- NCI drivers can now define their own handlers for processing
proprietary NCI responses and notifications.
- NFC vendors can use a dedicated netlink API to send their own
proprietary commands, like e.g. all commands needed to implement
vendo
On Sun, 14 Jun 2015, Larry Finger wrote:
> On 06/13/2015 05:43 AM, Nicholas Mc Guire wrote:
>> From: Nicholas Mc Guire
>>
>> scanning for trivial bug-patters with coccinelle spatches returned:
>> ./drivers/net/wireless/rtlwifi/rtl8723be/dm.c:886
>> WARNING: condition with no effect (if branc
On 06/13/2015 05:43 AM, Nicholas Mc Guire wrote:
From: Nicholas Mc Guire
scanning for trivial bug-patters with coccinelle spatches returned:
./drivers/net/wireless/rtlwifi/rtl8723be/dm.c:886
WARNING: condition with no effect (if branch == else)
Added in 'commit a619d1abe20c ("rtlwifi:
On Sun, Jun 14, 2015 at 08:07:12AM +, Duan Andy wrote:
> From: Andrew Lunn Sent: Friday, June 12, 2015 11:39 PM
> > To: David Miller
> > Cc: Duan Fugang-B38611; Cory Tusar; netdev; Andrew Lunn
> > Subject: [PATCH] net: fec: Ensure clocks are enabled while using mdio bus
> >
> > When a switch
Due to firmware bug, under VPI configuration when port1 = IB and
port2 = Eth, Granular QoS per VF isn't working properly. More over,
the whole QP0/QP1 Para-Virtualization in the mlx4 IB driver is
broken on that config.
Hence, we must disable Granular QoS per VF under that configuration
till a fix
Hi,
These are two small patches that export actor_oper_port_state and
partner_oper_port_state via netlink and sysfs, until now they were only
exported via bond's proc entry. If this set gets accepted I have an iproute2
patch prepared that will export them with which I tested these changes.
Best re
Export the partner_oper_port_state of each port via sysfs and netlink.
In 802.3ad mode it is valuable for the user to be able to check the
partner_oper state, it is already exported via bond's proc entry.
Signed-off-by: Nikolay Aleksandrov
---
Note: There's one line that's > 80 chars, but it's an
Export the actor_oper_port_state of each port via sysfs and netlink.
In 802.3ad mode it is valuable for the user to be able to check the
actor_oper state, it is already exported via bond's proc entry.
Signed-off-by: Nikolay Aleksandrov
---
drivers/net/bonding/bond_netlink.c | 10 +-
Hello,
between Linux 4.0.5 and 4.1-rc7 the name as shown by "ip link show"
of bridge interfaces (and at least the dummy interface) changed from
(i.e.) br1 to br1@NONE.
This breaks (at least for me :-) userspace (ip link show parsing
scripts). It is easy to solve, so not a big problem. I am using
On Fri, Jun 12, 2015 at 07:00:28PM +0530, Pankaj Gupta wrote:
> Macvtap should be compatible with tuntap for maximum number
> of queues. '1059590254fa9dce9cafc4f07d1103dbec415e76' removes
> the limitation and increases number of queues in tuntap.
> Now, Its safe to increase number of queues in Macv
From: Andrew Lunn Sent: Friday, June 12, 2015 11:39 PM
> To: David Miller
> Cc: Duan Fugang-B38611; Cory Tusar; netdev; Andrew Lunn
> Subject: [PATCH] net: fec: Ensure clocks are enabled while using mdio bus
>
> When a switch is attached to the mdio bus, the mdio bus can be used while
> the inter
Sat, Jun 13, 2015 at 08:04:29PM CEST, sfel...@gmail.com wrote:
>From: Scott Feldman
>
>If device flags ingress packet as "fwd offload", mark the skb->fwd_mark
>using the ingress port's dev->fwd_mark. This will be the hint to the
>kernel that this packet has already been forwarded by device to egr
51 matches
Mail list logo