* [PATCH] ixgbe: fix broken PPTP handling @ 2012-11-20 16:32 Alan Cox 2012-11-20 17:12 ` Vick, Matthew 0 siblings, 1 reply; 4+ messages in thread From: Alan Cox @ 2012-11-20 16:32 UTC (permalink / raw) To: netdev From: Alan Cox <alan@linux.intel.com> Reported to the maintain 3 weeks ago so now sending a patch rather than waiting. ixgbe passes a random event type to the pptp code Signed-off-by: Alan Cox <alan@linux.intel.com> --- drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c index 01d99af..73291fe 100644 --- a/drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c +++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c @@ -398,6 +398,7 @@ void ixgbe_ptp_check_pps_event(struct ixgbe_adapter *adapter, u32 eicr) switch (hw->mac.type) { case ixgbe_mac_X540: + event.type = PTP_CLOCK_PPS; ptp_clock_event(adapter->ptp_clock, &event); break; default: ^ permalink raw reply related [flat|nested] 4+ messages in thread
* RE: [PATCH] ixgbe: fix broken PPTP handling 2012-11-20 16:32 [PATCH] ixgbe: fix broken PPTP handling Alan Cox @ 2012-11-20 17:12 ` Vick, Matthew 2012-11-20 17:27 ` Keller, Jacob E 0 siblings, 1 reply; 4+ messages in thread From: Vick, Matthew @ 2012-11-20 17:12 UTC (permalink / raw) To: Alan Cox, netdev@vger.kernel.org; +Cc: e1000-devel@lists.sourceforge.net > -----Original Message----- > From: netdev-owner@vger.kernel.org [mailto:netdev- > owner@vger.kernel.org] On Behalf Of Alan Cox > Sent: Tuesday, November 20, 2012 8:33 AM > To: netdev@vger.kernel.org > Subject: [PATCH] ixgbe: fix broken PPTP handling > > From: Alan Cox <alan@linux.intel.com> > > Reported to the maintain 3 weeks ago so now sending a patch rather than > waiting. ixgbe passes a random event type to the pptp code > > Signed-off-by: Alan Cox <alan@linux.intel.com> > --- > > drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c | 1 + > 1 file changed, 1 insertion(+) > > > diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c > b/drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c > index 01d99af..73291fe 100644 > --- a/drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c > +++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c > @@ -398,6 +398,7 @@ void ixgbe_ptp_check_pps_event(struct ixgbe_adapter > *adapter, u32 eicr) > > switch (hw->mac.type) { > case ixgbe_mac_X540: > + event.type = PTP_CLOCK_PPS; > ptp_clock_event(adapter->ptp_clock, &event); > break; > default: CCing e1000-devel, the mailing list for Intel Wired Ethernet support. Sorry, Alan--I didn't see any message from you about this before or I would have responded. NAK on this, since I don't see how ixgbe is passing a random event type. The event type gets set to PTP_CLOCK_PPS just a few lines above (before the if (!adapter->ptp_clock) block). Matthew ^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [PATCH] ixgbe: fix broken PPTP handling 2012-11-20 17:12 ` Vick, Matthew @ 2012-11-20 17:27 ` Keller, Jacob E 2012-11-20 17:56 ` Alan Cox 0 siblings, 1 reply; 4+ messages in thread From: Keller, Jacob E @ 2012-11-20 17:27 UTC (permalink / raw) To: Vick, Matthew, Alan Cox, netdev@vger.kernel.org Cc: e1000-devel@lists.sourceforge.net > -----Original Message----- > From: netdev-owner@vger.kernel.org [mailto:netdev-owner@vger.kernel.org] > On Behalf Of Vick, Matthew > Sent: Tuesday, November 20, 2012 9:12 AM > To: Alan Cox; netdev@vger.kernel.org > Cc: e1000-devel@lists.sourceforge.net > Subject: RE: [PATCH] ixgbe: fix broken PPTP handling > > > -----Original Message----- > > From: netdev-owner@vger.kernel.org [mailto:netdev- > > owner@vger.kernel.org] On Behalf Of Alan Cox > > Sent: Tuesday, November 20, 2012 8:33 AM > > To: netdev@vger.kernel.org > > Subject: [PATCH] ixgbe: fix broken PPTP handling > > > > From: Alan Cox <alan@linux.intel.com> > > > > Reported to the maintain 3 weeks ago so now sending a patch rather than > > waiting. ixgbe passes a random event type to the pptp code > > > > Signed-off-by: Alan Cox <alan@linux.intel.com> > > --- > > > > drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c | 1 + > > 1 file changed, 1 insertion(+) > > > > > > diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c > > b/drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c > > index 01d99af..73291fe 100644 > > --- a/drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c > > +++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c > > @@ -398,6 +398,7 @@ void ixgbe_ptp_check_pps_event(struct ixgbe_adapter > > *adapter, u32 eicr) > > > > switch (hw->mac.type) { > > case ixgbe_mac_X540: > > + event.type = PTP_CLOCK_PPS; > > ptp_clock_event(adapter->ptp_clock, &event); > > break; > > default: > > CCing e1000-devel, the mailing list for Intel Wired Ethernet support. > > Sorry, Alan--I didn't see any message from you about this before or I > would have responded. NAK on this, since I don't see how ixgbe is passing > a random event type. The event type gets set to PTP_CLOCK_PPS just a few > lines above (before the if (!adapter->ptp_clock) block). > > Matthew Specifically, commit 3645adbb "ixgbe: fix uninitialized event.type in ixgbe_ptp_check_pps_event" :) Sorry I didn't reply directly to your original email with the concern, or CC you. I will do so next time. Thanks - Jake ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] ixgbe: fix broken PPTP handling 2012-11-20 17:27 ` Keller, Jacob E @ 2012-11-20 17:56 ` Alan Cox 0 siblings, 0 replies; 4+ messages in thread From: Alan Cox @ 2012-11-20 17:56 UTC (permalink / raw) To: Keller, Jacob E; +Cc: e1000-devel@lists.sourceforge.net, netdev@vger.kernel.org > Specifically, commit 3645adbb "ixgbe: fix uninitialized event.type in ixgbe_ptp_check_pps_event" > > :) > > Sorry I didn't reply directly to your original email with the concern, or CC you. I will do so next time. No problem - I missed the fact it was fixed with a different non-overlapped patch. Alan ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ E1000-devel mailing list E1000-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/e1000-devel To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-11-20 17:56 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2012-11-20 16:32 [PATCH] ixgbe: fix broken PPTP handling Alan Cox 2012-11-20 17:12 ` Vick, Matthew 2012-11-20 17:27 ` Keller, Jacob E 2012-11-20 17:56 ` Alan Cox
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).