Re: [PATCH net-next 2/2] openvswitch: remove skb_mpls_header

2016-09-30 Thread pravin shelar
On Fri, Sep 30, 2016 at 1:06 AM, Jiri Benc wrote: > On Thu, 29 Sep 2016 16:03:19 -0700, pravin shelar wrote: >> > --- a/include/net/mpls.h >> > +++ b/include/net/mpls.h >> > @@ -25,15 +25,4 @@ static inline bool eth_p_mpls(__be16 eth_type) >> > eth_type == htons(ETH_P_MPLS_MC); >>

Re: [PATCH net-next 2/2] openvswitch: remove skb_mpls_header

2016-09-30 Thread Jiri Benc
On Thu, 29 Sep 2016 16:03:19 -0700, pravin shelar wrote: > > --- a/include/net/mpls.h > > +++ b/include/net/mpls.h > > @@ -25,15 +25,4 @@ static inline bool eth_p_mpls(__be16 eth_type) > > eth_type == htons(ETH_P_MPLS_MC); > > } > > > > -/* > > - * For non-MPLS skbs this will corre

Re: [PATCH net-next 2/2] openvswitch: remove skb_mpls_header

2016-09-29 Thread pravin shelar
On Thu, Sep 29, 2016 at 12:19 PM, Jiri Benc wrote: > skb_mpls_header is equivalent to skb_network_header now. There's no reason > to keep it. > > Signed-off-by: Jiri Benc > --- > include/net/mpls.h| 11 --- > net/openvswitch/actions.c | 10 +- > 2 files changed, 5 inserti

[PATCH net-next 2/2] openvswitch: remove skb_mpls_header

2016-09-29 Thread Jiri Benc
skb_mpls_header is equivalent to skb_network_header now. There's no reason to keep it. Signed-off-by: Jiri Benc --- include/net/mpls.h| 11 --- net/openvswitch/actions.c | 10 +- 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/include/net/mpls.h b/include/